Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.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.Shade,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extShaCon.TSha|TRadOut.T|TRadRoo.T|extShaCon.air.Q_flow|extShaCon.glass.Q_flow|extNonShaCon.air.Q_flow|extNonShaCon.glass.Q_flow",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extShaCon.TSha|TRadOut.T|TRadRoo.T|extShaCon.air.Q_flow|extShaCon.glass.Q_flow|extNonShaCon.air.Q_flow|extNonShaCon.glass.Q_flow",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.561/2.561, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001321/0.001321, allocations: 173.1 kB / 498.1 MB, free: 5.727 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.704/1.704, allocations: 223.2 MB / 0.7948 GB, free: 17.91 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.001051/0.001051, allocations: 98.77 kB / 0.9346 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000443/0.000443, allocations: 9.656 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.3151, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.193/0.5082, allocations: 154.7 MB / 1.374 GB, free: 7.352 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002948/0.5085, allocations: 99.88 kB / 1.374 GB, free: 7.254 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02011/0.5286, allocations: 6.701 MB / 1.381 GB, free: 0.5117 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5287, allocations: 0 / 1.381 GB, free: 0.5117 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.853e-05/0.5287, allocations: 8 kB / 1.381 GB, free: 0.5039 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001249/0.53, allocations: 0.6836 MB / 1.381 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.53, allocations: 8.031 kB / 1.381 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001709/0.5302, allocations: 59.33 kB / 1.381 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005113/0.5307, allocations: 319.1 kB / 1.382 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.88e-05/0.5308, allocations: 25 kB / 1.382 GB, free: 15.33 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.658e-05/0.5308, allocations: 32 kB / 1.382 GB, free: 15.3 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006407/0.5315, allocations: 384.9 kB / 1.382 GB, free: 14.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.5315, allocations: 0 / 1.382 GB, free: 14.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.68e-05/0.5315, allocations: 15.98 kB / 1.382 GB, free: 14.89 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.5316, allocations: 8 kB / 1.382 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005672/0.5321, allocations: 286.4 kB / 1.382 GB, free: 14.6 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002033/0.5342, allocations: 1.456 MB / 1.384 GB, free: 13.06 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005765/0.5348, allocations: 291.4 kB / 1.384 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.162e-05/0.5348, allocations: 240 / 1.384 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.5348, allocations: 34.8 kB / 1.384 GB, free: 12.72 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=27): time 9.71e-07/0.5348, allocations: 0 / 1.384 GB, free: 12.72 MB / 0.8855 GB Notification: Performance of matching and sorting (n=27): time 0.003356/0.5382, allocations: 0.9452 MB / 1.385 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.411e-05/0.5383, allocations: 55.41 kB / 1.385 GB, free: 11.69 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000343/0.5386, allocations: 324.8 kB / 1.385 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.119e-05/0.5386, allocations: 29.7 kB / 1.385 GB, free: 11.33 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/0.5388, allocations: 220.2 kB / 1.386 GB, free: 11.11 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 6.501e-05/0.5389, allocations: 82.67 kB / 1.386 GB, free: 11.03 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.34e-05/0.5389, allocations: 8 kB / 1.386 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.539, allocations: 346.8 kB / 1.386 GB, free: 10.67 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002303/0.5393, allocations: 100.5 kB / 1.386 GB, free: 10.57 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002565/0.5395, allocations: 155.9 kB / 1.386 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002436/0.5398, allocations: 136.9 kB / 1.386 GB, free: 10.26 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.5398, allocations: 0 / 1.386 GB, free: 10.26 MB / 0.8855 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.00115/0.5409, allocations: 493.6 kB / 1.387 GB, free: 9.77 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002192/0.5412, allocations: 0.5292 MB / 1.387 GB, free: 9.199 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.5412, allocations: 0 / 1.387 GB, free: 9.199 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007498/0.5419, allocations: 180.7 kB / 1.388 GB, free: 9.02 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001872/0.5421, allocations: 35.92 kB / 1.388 GB, free: 8.984 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008723/0.543, allocations: 0.8039 MB / 1.388 GB, free: 8.156 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003508/0.5434, allocations: 43.73 kB / 1.388 GB, free: 8.113 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.751e-05/0.5434, allocations: 12 kB / 1.388 GB, free: 8.102 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.5434, allocations: 7.953 kB / 1.388 GB, free: 8.094 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001107/0.5446, allocations: 432.2 kB / 1.389 GB, free: 7.668 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.5446, allocations: 3.953 kB / 1.389 GB, free: 7.664 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006676/0.5452, allocations: 186.6 kB / 1.389 GB, free: 7.48 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/0.5454, allocations: 35.92 kB / 1.389 GB, free: 7.445 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003425/0.5489, allocations: 2.432 MB / 1.391 GB, free: 4.883 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003307/0.5492, allocations: 43.7 kB / 1.391 GB, free: 4.84 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.919e-05/0.5492, allocations: 8 kB / 1.391 GB, free: 4.832 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 17 * 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 {2 15} Notification: Performance of prepare postOptimizeDAE: time 0.0002588/0.5495, allocations: 237 kB / 1.392 GB, free: 4.59 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.409e-05/0.5496, allocations: 43.48 kB / 1.392 GB, free: 4.547 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001035/0.5497, allocations: 48.16 kB / 1.392 GB, free: 4.492 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.5497, allocations: 4 kB / 1.392 GB, free: 4.488 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.5497, allocations: 0 / 1.392 GB, free: 4.488 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/0.5497, allocations: 3.984 kB / 1.392 GB, free: 4.484 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005868/0.5503, allocations: 413.6 kB / 1.392 GB, free: 4.031 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.5503, allocations: 0 / 1.392 GB, free: 4.031 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001287/0.5505, allocations: 23.98 kB / 1.392 GB, free: 4.008 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006596/0.5511, allocations: 185.5 kB / 1.392 GB, free: 3.824 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.428e-05/0.5512, allocations: 4 kB / 1.392 GB, free: 3.82 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00343/0.5546, allocations: 2.426 MB / 1.395 GB, free: 1.266 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/0.5546, allocations: 7.922 kB / 1.395 GB, free: 1.258 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001158/0.5558, allocations: 0.5356 MB / 1.395 GB, free: 0.7031 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002011/0.556, allocations: 136.5 kB / 1.395 GB, free: 0.5508 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.672e-05/0.5561, allocations: 4 kB / 1.395 GB, free: 0.5469 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002387/0.5563, allocations: 23.98 kB / 1.395 GB, free: 0.5234 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.497e-05/0.5564, allocations: 23.95 kB / 1.395 GB, free: 0.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.5565, allocations: 8 kB / 1.396 GB, free: 0.4922 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003378/0.5568, allocations: 255.2 kB / 1.396 GB, free: 248 kB / 0.8855 GB Notification: Performance of sort global known variables: time 2.2e-07/0.5568, allocations: 0 / 1.396 GB, free: 248 kB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000756/0.5576, allocations: 207.7 kB / 1.396 GB, free: 40 kB / 0.8855 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 (11): * Single equations (assignments): 10 * 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 {2 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002471/0.5578, allocations: 122.9 kB / 1.396 GB, free: 15.91 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001536/0.5594, allocations: 0.6248 MB / 1.397 GB, free: 15.27 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.5594, allocations: 0 / 1.397 GB, free: 15.27 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0005553/0.5599, allocations: 326.9 kB / 1.397 GB, free: 14.93 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004936/0.5605, allocations: 89.44 kB / 1.397 GB, free: 14.85 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00153/0.562, allocations: 0.7953 MB / 1.398 GB, free: 14.03 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004373/0.5624, allocations: 0.8232 MB / 1.399 GB, free: 13.18 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001917/0.5626, allocations: 35.27 kB / 1.399 GB, free: 13.14 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.161e-05/0.5627, allocations: 23.38 kB / 1.399 GB, free: 13.12 MB / 0.9011 GB Notification: Performance of SimCode: time 3.41e-07/0.5627, allocations: 4 kB / 1.399 GB, free: 13.12 MB / 0.9011 GB Notification: Performance of Templates: time 0.01362/0.5763, allocations: 7.114 MB / 1.406 GB, free: 6.094 MB / 0.9011 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade.csv","../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches