Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TAirOut.T|TRadOut.T|nonSha.port_a.T|nonSha.port_b.T|sha.port_a.T|sha.port_b.T|TAirRoo.T",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TAirOut.T|TRadOut.T|nonSha.port_a.T|nonSha.port_b.T|sha.port_a.T|sha.port_b.T|TAirRoo.T",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.267/2.267, allocations: 390.3 MB / 405.3 MB, free: 13.49 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 177.1 kB / 498.1 MB, free: 5.746 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.712/1.712, allocations: 223.2 MB / 0.7948 GB, free: 17.81 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 98.72 kB / 0.9346 GB, free: 6.086 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004691/0.0004691, allocations: 11.55 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3826/0.3831, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2342/0.6174, allocations: 155.9 MB / 1.375 GB, free: 6.039 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004098/0.6179, allocations: 83.95 kB / 1.375 GB, free: 5.957 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.03061/0.6485, allocations: 10.17 MB / 1.385 GB, free: 11.71 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.385e-06/0.6486, allocations: 0 / 1.385 GB, free: 11.71 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.497e-05/0.6486, allocations: 8 kB / 1.385 GB, free: 11.7 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.00155/0.6502, allocations: 0.7533 MB / 1.386 GB, free: 10.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.324e-05/0.6502, allocations: 8.031 kB / 1.386 GB, free: 10.89 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001317/0.6504, allocations: 55.34 kB / 1.386 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005921/0.651, allocations: 347.1 kB / 1.386 GB, free: 10.46 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.564e-05/0.651, allocations: 29 kB / 1.386 GB, free: 10.43 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.894e-05/0.6511, allocations: 51.94 kB / 1.386 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008285/0.652, allocations: 402.3 kB / 1.387 GB, free: 9.984 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.652, allocations: 0 / 1.387 GB, free: 9.984 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.756e-05/0.652, allocations: 16 kB / 1.387 GB, free: 9.969 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.611e-05/0.6521, allocations: 15.95 kB / 1.387 GB, free: 9.953 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007055/0.6528, allocations: 343.8 kB / 1.387 GB, free: 9.617 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002671/0.6555, allocations: 1.3 MB / 1.388 GB, free: 8.266 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008493/0.6563, allocations: 401.4 kB / 1.389 GB, free: 7.863 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 6.15e-05/0.6564, allocations: 8 kB / 1.389 GB, free: 7.855 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.536e-05/0.6565, allocations: 38.56 kB / 1.389 GB, free: 7.809 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=41): time 1.934e-06/0.6565, allocations: 0 / 1.389 GB, free: 7.809 MB / 0.8855 GB Notification: Performance of matching and sorting (n=41): time 0.0069/0.6634, allocations: 1.692 MB / 1.39 GB, free: 6.086 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.287e-05/0.6635, allocations: 55.41 kB / 1.391 GB, free: 6.02 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004121/0.6639, allocations: 312.9 kB / 1.391 GB, free: 5.707 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.93e-05/0.6639, allocations: 37.7 kB / 1.391 GB, free: 5.664 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001657/0.6641, allocations: 212.6 kB / 1.391 GB, free: 5.449 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001423/0.6643, allocations: 137.9 kB / 1.391 GB, free: 5.312 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.093e-05/0.6643, allocations: 8 kB / 1.391 GB, free: 5.305 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.6644, allocations: 346.8 kB / 1.392 GB, free: 4.957 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002833/0.6647, allocations: 135.9 kB / 1.392 GB, free: 4.824 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003542/0.6651, allocations: 209.8 kB / 1.392 GB, free: 4.598 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003007/0.6654, allocations: 160.6 kB / 1.392 GB, free: 4.441 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.6654, allocations: 0 / 1.392 GB, free: 4.441 MB / 0.8855 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001896/0.6673, allocations: 0.7119 MB / 1.393 GB, free: 3.719 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.481e-05/0.6674, allocations: 101 kB / 1.393 GB, free: 3.613 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.6674, allocations: 0 / 1.393 GB, free: 3.613 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001725/0.6692, allocations: 432.3 kB / 1.393 GB, free: 3.188 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001601/0.6693, allocations: 31.97 kB / 1.393 GB, free: 3.156 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001513/0.6709, allocations: 1.048 MB / 1.394 GB, free: 2.082 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005324/0.6714, allocations: 51.58 kB / 1.394 GB, free: 2.031 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.065e-05/0.6715, allocations: 12 kB / 1.394 GB, free: 2.02 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.6715, allocations: 8 kB / 1.394 GB, free: 2.012 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00194/0.6734, allocations: 0.6797 MB / 1.395 GB, free: 1.328 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.6734, allocations: 0 / 1.395 GB, free: 1.328 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001543/0.675, allocations: 428.7 kB / 1.395 GB, free: 0.9062 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/0.6751, allocations: 31.91 kB / 1.395 GB, free: 0.875 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006272/0.6814, allocations: 3.787 MB / 1.399 GB, free: 12.96 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000595/0.6821, allocations: 51.58 kB / 1.399 GB, free: 12.91 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.37e-05/0.6821, allocations: 8.312 kB / 1.399 GB, free: 12.9 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 26} Notification: Performance of prepare postOptimizeDAE: time 0.0004508/0.6826, allocations: 238.4 kB / 1.399 GB, free: 12.66 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.6827, allocations: 47.48 kB / 1.399 GB, free: 12.61 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001486/0.6829, allocations: 56.48 kB / 1.4 GB, free: 12.55 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-06/0.6829, allocations: 7.938 kB / 1.4 GB, free: 12.54 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.6829, allocations: 4 kB / 1.4 GB, free: 12.54 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.6829, allocations: 7.984 kB / 1.4 GB, free: 12.53 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008267/0.6837, allocations: 494 kB / 1.4 GB, free: 12 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/0.6838, allocations: 3.953 kB / 1.4 GB, free: 12 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001295/0.6839, allocations: 23.98 kB / 1.4 GB, free: 11.97 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001638/0.6855, allocations: 400.7 kB / 1.4 GB, free: 11.58 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.12e-05/0.6856, allocations: 8 kB / 1.4 GB, free: 11.57 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006873/0.6925, allocations: 3.758 MB / 1.404 GB, free: 7.672 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.093e-06/0.6925, allocations: 4 kB / 1.404 GB, free: 7.668 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002198/0.6947, allocations: 0.8225 MB / 1.405 GB, free: 6.824 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002896/0.695, allocations: 144.5 kB / 1.405 GB, free: 6.664 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.561e-05/0.6951, allocations: 8 kB / 1.405 GB, free: 6.656 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002958/0.6954, allocations: 23.92 kB / 1.405 GB, free: 6.633 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001455/0.6956, allocations: 39.94 kB / 1.405 GB, free: 6.594 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.438e-05/0.6956, allocations: 4 kB / 1.405 GB, free: 6.59 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0004227/0.6961, allocations: 255.2 kB / 1.405 GB, free: 6.34 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5.11e-07/0.6961, allocations: 4 kB / 1.405 GB, free: 6.336 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.001135/0.6972, allocations: 283.4 kB / 1.406 GB, free: 6.059 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 26} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003214/0.6976, allocations: 107.2 kB / 1.406 GB, free: 5.941 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.003022/0.7006, allocations: 0.9609 MB / 1.407 GB, free: 4.965 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.7006, allocations: 0 / 1.407 GB, free: 4.965 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.001228/0.7019, allocations: 0.5021 MB / 1.407 GB, free: 4.449 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007796/0.7027, allocations: 109.2 kB / 1.407 GB, free: 4.344 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002313/0.705, allocations: 0.9797 MB / 1.408 GB, free: 3.34 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006065/0.7056, allocations: 0.8479 MB / 1.409 GB, free: 2.465 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.000242/0.7059, allocations: 35.27 kB / 1.409 GB, free: 2.426 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.533e-05/0.7059, allocations: 23.44 kB / 1.409 GB, free: 2.402 MB / 0.9011 GB Notification: Performance of SimCode: time 1.793e-06/0.706, allocations: 0 / 1.409 GB, free: 2.402 MB / 0.9011 GB Notification: Performance of Templates: time 0.02176/0.7277, allocations: 10.79 MB / 1.42 GB, free: 7.734 MB / 0.9167 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer.csv","../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches