Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.314/2.314, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001485/0.001485, allocations: 178.4 kB / 0.4902 GB, free: 2.312 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.696/1.696, allocations: 223.1 MB / 0.7992 GB, free: 15.62 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.001026/0.001026, allocations: 103.4 kB / 0.9396 GB, free: 2.812 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004285/0.0004285, allocations: 10.64 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3716/0.3721, allocations: 143 MB / 1.229 GB, free: 85.49 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2374/0.6095, allocations: 156.7 MB / 1.382 GB, free: 8.562 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004476/0.6101, allocations: 87.95 kB / 1.382 GB, free: 8.477 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.04566/0.6558, allocations: 10.16 MB / 1.392 GB, free: 14.24 MB / 0.9011 GB Notification: Performance of FrontEnd: time 3.707e-06/0.6559, allocations: 0 / 1.392 GB, free: 14.24 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.752e-05/0.6559, allocations: 12 kB / 1.392 GB, free: 14.23 MB / 0.9011 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.002144/0.6581, allocations: 0.752 MB / 1.393 GB, free: 13.43 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 7.13e-05/0.6581, allocations: 16.52 kB / 1.393 GB, free: 13.41 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001825/0.6583, allocations: 55.34 kB / 1.393 GB, free: 13.36 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008068/0.6592, allocations: 343 kB / 1.393 GB, free: 12.98 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.492e-05/0.6592, allocations: 33 kB / 1.393 GB, free: 12.95 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.6594, allocations: 44 kB / 1.393 GB, free: 12.9 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001176/0.6605, allocations: 402.5 kB / 1.394 GB, free: 12.5 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.945e-05/0.6606, allocations: 0 / 1.394 GB, free: 12.5 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.387e-05/0.6606, allocations: 16 kB / 1.394 GB, free: 12.48 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.982e-05/0.6607, allocations: 11.95 kB / 1.394 GB, free: 12.47 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008719/0.6616, allocations: 339.8 kB / 1.394 GB, free: 12.14 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002549/0.6641, allocations: 1.308 MB / 1.395 GB, free: 10.78 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00078/0.6649, allocations: 399.2 kB / 1.396 GB, free: 10.38 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 5.304e-05/0.665, allocations: 4 kB / 1.396 GB, free: 10.38 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/0.665, allocations: 38.56 kB / 1.396 GB, free: 10.33 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=41): time 3.025e-06/0.665, allocations: 0 / 1.396 GB, free: 10.33 MB / 0.9011 GB Notification: Performance of matching and sorting (n=41): time 0.007098/0.6721, allocations: 1.693 MB / 1.398 GB, free: 8.605 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.849e-05/0.6722, allocations: 59.41 kB / 1.398 GB, free: 8.535 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000474/0.6727, allocations: 308.9 kB / 1.398 GB, free: 8.227 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 6.653e-05/0.6728, allocations: 33.7 kB / 1.398 GB, free: 8.188 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.000194/0.673, allocations: 220.6 kB / 1.398 GB, free: 7.965 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001402/0.6732, allocations: 141.9 kB / 1.398 GB, free: 7.824 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.232e-05/0.6732, allocations: 8 kB / 1.398 GB, free: 7.816 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001761/0.6734, allocations: 346.8 kB / 1.399 GB, free: 7.469 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002788/0.6737, allocations: 135.9 kB / 1.399 GB, free: 7.336 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003615/0.674, allocations: 205.9 kB / 1.399 GB, free: 7.113 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003278/0.6744, allocations: 156.6 kB / 1.399 GB, free: 6.961 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.6744, allocations: 4 kB / 1.399 GB, free: 6.957 MB / 0.9011 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001977/0.6764, allocations: 0.7159 MB / 1.4 GB, free: 6.23 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 9.379e-05/0.6765, allocations: 94.03 kB / 1.4 GB, free: 6.133 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.6765, allocations: 0 / 1.4 GB, free: 6.133 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001775/0.6783, allocations: 437.2 kB / 1.4 GB, free: 5.703 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/0.6784, allocations: 23.98 kB / 1.4 GB, free: 5.68 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00146/0.6799, allocations: 1.056 MB / 1.401 GB, free: 4.598 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000553/0.6805, allocations: 59.56 kB / 1.401 GB, free: 4.539 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.79e-05/0.6805, allocations: 11.94 kB / 1.401 GB, free: 4.527 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.6805, allocations: 0 / 1.401 GB, free: 4.527 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001963/0.6825, allocations: 0.6798 MB / 1.402 GB, free: 3.844 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.6825, allocations: 4 kB / 1.402 GB, free: 3.84 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001615/0.6842, allocations: 432.7 kB / 1.403 GB, free: 3.414 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.6843, allocations: 31.91 kB / 1.403 GB, free: 3.383 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.8797/1.564, allocations: 3.778 MB / 1.406 GB, free: 168.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005778/1.565, allocations: 54.23 kB / 1.406 GB, free: 168.5 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.52e-05/1.565, allocations: 10.06 kB / 1.406 GB, free: 168.5 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.0002791/1.565, allocations: 227.9 kB / 1.407 GB, free: 168.3 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/1.565, allocations: 42.72 kB / 1.407 GB, free: 168.3 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001501/1.565, allocations: 61.67 kB / 1.407 GB, free: 168.3 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/1.565, allocations: 5.016 kB / 1.407 GB, free: 168.3 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/1.565, allocations: 5.688 kB / 1.407 GB, free: 168.3 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/1.565, allocations: 2.062 kB / 1.407 GB, free: 168.3 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007017/1.566, allocations: 489 kB / 1.407 GB, free: 168.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/1.566, allocations: 2.422 kB / 1.407 GB, free: 168.1 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001428/1.566, allocations: 28.06 kB / 1.407 GB, free: 168.1 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001711/1.568, allocations: 402.5 kB / 1.408 GB, free: 168.1 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.695e-05/1.568, allocations: 5.75 kB / 1.408 GB, free: 168.1 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005751/1.574, allocations: 3.776 MB / 1.411 GB, free: 166.7 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.574, allocations: 0.7969 kB / 1.411 GB, free: 166.7 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002042/1.576, allocations: 0.8244 MB / 1.412 GB, free: 166.5 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001898/1.576, allocations: 150.4 kB / 1.412 GB, free: 166.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.322e-05/1.576, allocations: 6.156 kB / 1.412 GB, free: 166.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002862/1.576, allocations: 21.84 kB / 1.412 GB, free: 166.4 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/1.576, allocations: 37.72 kB / 1.412 GB, free: 166.4 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.408e-05/1.576, allocations: 8.547 kB / 1.412 GB, free: 166.4 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0003238/1.577, allocations: 255 kB / 1.412 GB, free: 166.3 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.3e-07/1.577, allocations: 0 / 1.412 GB, free: 166.3 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.001064/1.578, allocations: 286 kB / 1.413 GB, free: 166.3 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.0001763/1.578, allocations: 111 kB / 1.413 GB, free: 166.2 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.002718/1.581, allocations: 0.9508 MB / 1.414 GB, free: 166.1 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/1.581, allocations: 1.438 kB / 1.414 GB, free: 166.1 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.001136/1.582, allocations: 0.5005 MB / 1.414 GB, free: 165.9 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006181/1.583, allocations: 111.4 kB / 1.414 GB, free: 165.9 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001839/1.584, allocations: 0.9861 MB / 1.415 GB, free: 165.4 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003899/1.585, allocations: 0.8469 MB / 1.416 GB, free: 164.7 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.000214/1.585, allocations: 32.89 kB / 1.416 GB, free: 164.7 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.536e-05/1.585, allocations: 22.22 kB / 1.416 GB, free: 164.7 MB / 0.9011 GB Notification: Performance of SimCode: time 1.363e-06/1.585, allocations: 0 / 1.416 GB, free: 164.7 MB / 0.9011 GB Notification: Performance of Templates: time 0.02285/1.608, allocations: 10.78 MB / 1.427 GB, free: 164.2 MB / 0.9011 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer.csv","../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches