Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.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.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_latest_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_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.414/2.414, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001347/0.001347, allocations: 201.9 kB / 0.4902 GB, free: 2.215 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.764/1.764, allocations: 223.1 MB / 0.7992 GB, free: 14.69 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.001047/0.001047, allocations: 100.2 kB / 0.9396 GB, free: 1.887 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004098/0.0004097, allocations: 11.16 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3377/0.3381, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2073/0.5455, allocations: 155.5 MB / 1.381 GB, free: 13.98 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003726/0.5459, allocations: 91.94 kB / 1.381 GB, free: 13.89 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.02114/0.5671, allocations: 6.694 MB / 1.388 GB, free: 7.164 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.655e-06/0.5671, allocations: 0 / 1.388 GB, free: 7.164 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.793e-05/0.5672, allocations: 12 kB / 1.388 GB, free: 7.152 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001496/0.5687, allocations: 0.6821 MB / 1.388 GB, free: 6.422 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.5687, allocations: 8.562 kB / 1.388 GB, free: 6.414 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001768/0.5689, allocations: 59.3 kB / 1.388 GB, free: 6.355 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006421/0.5696, allocations: 311.2 kB / 1.389 GB, free: 6.004 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.518e-05/0.5696, allocations: 29 kB / 1.389 GB, free: 5.977 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.045e-05/0.5697, allocations: 32 kB / 1.389 GB, free: 5.945 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000733/0.5704, allocations: 384.9 kB / 1.389 GB, free: 5.539 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.5705, allocations: 0 / 1.389 GB, free: 5.539 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.797e-05/0.5705, allocations: 19.94 kB / 1.389 GB, free: 5.52 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.5705, allocations: 8 kB / 1.389 GB, free: 5.512 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006439/0.5712, allocations: 290.3 kB / 1.389 GB, free: 5.23 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002463/0.5737, allocations: 1.463 MB / 1.391 GB, free: 3.68 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006704/0.5744, allocations: 291.4 kB / 1.391 GB, free: 3.387 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 4.191e-05/0.5744, allocations: 8.219 kB / 1.391 GB, free: 3.379 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.5744, allocations: 34.8 kB / 1.391 GB, free: 3.336 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=27): time 1.623e-06/0.5745, allocations: 0 / 1.391 GB, free: 3.336 MB / 0.8855 GB Notification: Performance of matching and sorting (n=27): time 0.003466/0.5779, allocations: 0.9413 MB / 1.392 GB, free: 2.371 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.64e-05/0.578, allocations: 55.41 kB / 1.392 GB, free: 2.305 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004224/0.5784, allocations: 316.9 kB / 1.392 GB, free: 1.988 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.742e-05/0.5785, allocations: 29.7 kB / 1.393 GB, free: 1.953 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001846/0.5787, allocations: 216.2 kB / 1.393 GB, free: 1.738 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000114/0.5788, allocations: 98.55 kB / 1.393 GB, free: 1.641 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.473e-05/0.5788, allocations: 8 kB / 1.393 GB, free: 1.633 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001818/0.579, allocations: 342.8 kB / 1.393 GB, free: 1.289 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002408/0.5792, allocations: 100.5 kB / 1.393 GB, free: 1.188 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002683/0.5795, allocations: 159.9 kB / 1.393 GB, free: 1.008 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002705/0.5798, allocations: 124.5 kB / 1.394 GB, free: 0.8867 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.5798, allocations: 0 / 1.394 GB, free: 0.8867 MB / 0.8855 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001194/0.581, allocations: 490.5 kB / 1.394 GB, free: 408 kB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003062/0.5813, allocations: 0.5346 MB / 1.395 GB, free: 15.82 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.5813, allocations: 0 / 1.395 GB, free: 15.82 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007805/0.5821, allocations: 180.6 kB / 1.395 GB, free: 15.64 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001773/0.5823, allocations: 35.98 kB / 1.395 GB, free: 15.61 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009167/0.5833, allocations: 0.8028 MB / 1.396 GB, free: 14.78 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003795/0.5836, allocations: 39.67 kB / 1.396 GB, free: 14.74 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.458e-05/0.5837, allocations: 8 kB / 1.396 GB, free: 14.73 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.5837, allocations: 9.203 kB / 1.396 GB, free: 14.73 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001103/0.5848, allocations: 432.3 kB / 1.396 GB, free: 14.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.5848, allocations: 4.109 kB / 1.396 GB, free: 14.3 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006605/0.5855, allocations: 184.6 kB / 1.396 GB, free: 14.11 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.5857, allocations: 39.92 kB / 1.396 GB, free: 14.07 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003536/0.5892, allocations: 2.437 MB / 1.399 GB, free: 11.51 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003538/0.5896, allocations: 39.73 kB / 1.399 GB, free: 11.47 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.397e-05/0.5896, allocations: 12 kB / 1.399 GB, free: 11.46 MB / 0.9011 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.000276/0.5899, allocations: 229.8 kB / 1.399 GB, free: 11.22 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.377e-05/0.59, allocations: 47.48 kB / 1.399 GB, free: 11.18 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001094/0.5901, allocations: 48.16 kB / 1.399 GB, free: 11.12 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.5901, allocations: 0 / 1.399 GB, free: 11.12 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.5901, allocations: 0 / 1.399 GB, free: 11.12 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.5902, allocations: 3.984 kB / 1.399 GB, free: 11.12 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005446/0.5907, allocations: 413.6 kB / 1.399 GB, free: 10.67 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.5907, allocations: 4 kB / 1.399 GB, free: 10.66 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000132/0.5909, allocations: 23.98 kB / 1.399 GB, free: 10.64 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006579/0.5915, allocations: 185.7 kB / 1.4 GB, free: 10.46 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.33e-05/0.5916, allocations: 4 kB / 1.4 GB, free: 10.45 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003447/0.595, allocations: 2.426 MB / 1.402 GB, free: 7.898 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.595, allocations: 0 / 1.402 GB, free: 7.898 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001254/0.5963, allocations: 0.5473 MB / 1.402 GB, free: 7.332 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002502/0.5966, allocations: 140.4 kB / 1.403 GB, free: 7.176 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.825e-05/0.5966, allocations: 4 kB / 1.403 GB, free: 7.172 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002601/0.5969, allocations: 23.89 kB / 1.403 GB, free: 7.148 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.886e-05/0.597, allocations: 23.95 kB / 1.403 GB, free: 7.125 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-05/0.597, allocations: 8 kB / 1.403 GB, free: 7.117 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.00035/0.5974, allocations: 259.2 kB / 1.403 GB, free: 6.863 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5974, allocations: 0 / 1.403 GB, free: 6.863 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0008291/0.5982, allocations: 211.7 kB / 1.403 GB, free: 6.656 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 (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.0002253/0.5985, allocations: 99.25 kB / 1.403 GB, free: 6.551 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001546/0.6, allocations: 0.6239 MB / 1.404 GB, free: 5.91 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.6, allocations: 0 / 1.404 GB, free: 5.91 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0006069/0.6006, allocations: 322.9 kB / 1.404 GB, free: 5.582 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005533/0.6012, allocations: 93.38 kB / 1.404 GB, free: 5.492 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001756/0.603, allocations: 0.7926 MB / 1.405 GB, free: 4.676 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004794/0.6035, allocations: 0.8193 MB / 1.406 GB, free: 3.828 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001966/0.6037, allocations: 39.27 kB / 1.406 GB, free: 3.789 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.19e-05/0.6037, allocations: 23.44 kB / 1.406 GB, free: 3.766 MB / 0.9011 GB Notification: Performance of SimCode: time 4.8e-07/0.6038, allocations: 4 kB / 1.406 GB, free: 3.762 MB / 0.9011 GB Notification: Performance of Templates: time 0.01457/0.6183, allocations: 7.119 MB / 1.413 GB, free: 12.73 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_Shade.csv","../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Shade.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches