Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaLos.QLos.1.|heaLos.QLos.2.|heaLos.QLos.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaLos.QLos.1.|heaLos.QLos.2.|heaLos.QLos.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 223.2 MB / 239.9 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.526/2.526, allocations: 436.5 MB / 0.7104 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003113/0.0003115, allocations: 12 kB / 0.8708 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5731/0.5734, allocations: 153.7 MB / 1.021 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.001869/0.5753, allocations: 1.543 MB / 1.022 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003345/0.5787, allocations: 3.032 MB / 1.025 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.911e-05/0.5788, allocations: 4 kB / 1.025 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001925/0.579, allocations: 39.81 kB / 1.025 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003307/0.5793, allocations: 127.5 kB / 1.025 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 5.663e-05/0.5794, allocations: 15.98 kB / 1.025 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001642/0.5796, allocations: 115.7 kB / 1.026 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.648e-05/0.5797, allocations: 25.67 kB / 1.026 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001468/0.5798, allocations: 63.75 kB / 1.026 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001243/0.58, allocations: 67.69 kB / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.809e-05/0.58, allocations: 4 kB / 1.026 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.335e-05/0.5801, allocations: 31.91 kB / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.383e-05/0.5801, allocations: 23.92 kB / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.049e-05/0.5802, allocations: 57.56 kB / 1.026 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001545/0.5803, allocations: 111.6 kB / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.5803, allocations: 7.938 kB / 1.026 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.733e-06/0.5803, allocations: 0 / 1.026 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.064e-06/0.5804, allocations: 0 / 1.026 GB, free: 11.78 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007721/0.5811, allocations: 490.4 kB / 1.026 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.5812, allocations: 11.98 kB / 1.026 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.649e-05/0.5812, allocations: 19.81 kB / 1.026 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003261/0.5816, allocations: 233.7 kB / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.337e-06/0.5816, allocations: 7.953 kB / 1.027 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2e-05/0.5816, allocations: 4 kB / 1.027 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003526/0.582, allocations: 149.4 kB / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.582, allocations: 0 / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.582, allocations: 0 / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.493e-05/0.582, allocations: 15.98 kB / 1.027 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004379/0.5825, allocations: 151.9 kB / 1.027 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007092/0.5832, allocations: 448.6 kB / 1.027 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004036/0.5836, allocations: 178.4 kB / 1.028 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/0.5836, allocations: 0 / 1.028 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.5837, allocations: 34.56 kB / 1.028 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 9.71e-07/0.5837, allocations: 0 / 1.028 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.0008192/0.5845, allocations: 304.3 kB / 1.028 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/0.5845, allocations: 55.34 kB / 1.028 GB, free: 9.539 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001894/0.5847, allocations: 209 kB / 1.028 GB, free: 9.328 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.5848, allocations: 29.7 kB / 1.028 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.561e-05/0.5848, allocations: 128 kB / 1.028 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.303e-05/0.5849, allocations: 47.39 kB / 1.028 GB, free: 9.117 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.007e-06/0.5849, allocations: 0 / 1.028 GB, free: 9.117 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.585, allocations: 334.8 kB / 1.029 GB, free: 8.781 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002272/0.5853, allocations: 79.94 kB / 1.029 GB, free: 8.703 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002159/0.5855, allocations: 84.19 kB / 1.029 GB, free: 8.621 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002345/0.5857, allocations: 83.94 kB / 1.029 GB, free: 8.539 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.5857, allocations: 0 / 1.029 GB, free: 8.539 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005218/0.5863, allocations: 221.3 kB / 1.029 GB, free: 8.316 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.5863, allocations: 8 kB / 1.029 GB, free: 8.309 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.5863, allocations: 0 / 1.029 GB, free: 8.309 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.087e-06/0.5863, allocations: 0 / 1.029 GB, free: 8.309 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002474/0.5866, allocations: 43.91 kB / 1.029 GB, free: 8.266 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.5866, allocations: 0 / 1.029 GB, free: 8.266 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001543/0.5867, allocations: 19.97 kB / 1.029 GB, free: 8.246 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.498e-05/0.5868, allocations: 8 kB / 1.029 GB, free: 8.238 MB / 0.7794 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 (13): * Single equations (assignments): 13 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001035/0.5869, allocations: 125.8 kB / 1.029 GB, free: 8.105 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.191e-05/0.5869, allocations: 23.7 kB / 1.029 GB, free: 8.082 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.653e-05/0.587, allocations: 33.78 kB / 1.029 GB, free: 8.055 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.587, allocations: 0 / 1.029 GB, free: 8.055 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.587, allocations: 0 / 1.029 GB, free: 8.055 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.587, allocations: 3.984 kB / 1.029 GB, free: 8.051 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002663/0.5873, allocations: 257.5 kB / 1.03 GB, free: 7.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.5873, allocations: 0 / 1.03 GB, free: 7.75 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002211/0.5875, allocations: 43.89 kB / 1.03 GB, free: 7.707 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.5875, allocations: 0 / 1.03 GB, free: 7.707 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.5875, allocations: 4 kB / 1.03 GB, free: 7.703 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.5875, allocations: 4 kB / 1.03 GB, free: 7.699 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.5875, allocations: 0 / 1.03 GB, free: 7.699 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005792/0.5881, allocations: 334.1 kB / 1.03 GB, free: 7.359 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.894e-05/0.5882, allocations: 112.9 kB / 1.03 GB, free: 7.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.032e-05/0.5883, allocations: 0 / 1.03 GB, free: 7.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001884/0.5885, allocations: 15.98 kB / 1.03 GB, free: 7.215 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.017e-05/0.5885, allocations: 15.98 kB / 1.03 GB, free: 7.199 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.158e-05/0.5886, allocations: 11.92 kB / 1.03 GB, free: 7.188 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001175/0.5887, allocations: 148.5 kB / 1.03 GB, free: 7.043 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5887, allocations: 3.938 kB / 1.03 GB, free: 7.039 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002749/0.589, allocations: 36 kB / 1.03 GB, free: 7.004 MB / 0.7794 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 (13): * Single equations (assignments): 13 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001428/0.5891, allocations: 107.2 kB / 1.03 GB, free: 6.887 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005194/0.5896, allocations: 191.8 kB / 1.031 GB, free: 6.699 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5897, allocations: 0 / 1.031 GB, free: 6.699 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002445/0.5899, allocations: 95.92 kB / 1.031 GB, free: 6.605 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/0.5902, allocations: 24.61 kB / 1.031 GB, free: 6.582 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007409/0.5909, allocations: 481.9 kB / 1.031 GB, free: 6.086 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000277/0.5912, allocations: 0.7316 MB / 1.032 GB, free: 5.328 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001723/0.5914, allocations: 44.61 kB / 1.032 GB, free: 5.285 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.544e-05/0.5915, allocations: 19.42 kB / 1.032 GB, free: 5.266 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.5915, allocations: 0 / 1.032 GB, free: 5.266 MB / 0.7794 GB Notification: Performance of Templates: time 0.00387/0.5954, allocations: 1.476 MB / 1.033 GB, free: 3.805 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches