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/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.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/Buildings 10.0.0-master/package.mo): time 2.427/2.427, allocations: 390.3 MB / 402.8 MB, free: 6.66 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.001343/0.001343, allocations: 168 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.741/1.741, allocations: 221.3 MB / 0.7915 GB, free: 5.371 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.000935/0.000935, allocations: 99.5 kB / 0.9317 GB, free: 5.691 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.465e-05/4.467e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3153, allocations: 143 MB / 1.219 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.169/1.484, allocations: 374.9 MB / 1.585 GB, free: 10.84 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002293/1.485, allocations: 90.23 kB / 1.585 GB, free: 10.79 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 0.02472/1.509, allocations: 9.605 MB / 1.594 GB, free: 1.875 MB / 1.042 GB Notification: Performance of FrontEnd: time 3.176e-06/1.509, allocations: 4 kB / 1.594 GB, free: 1.871 MB / 1.042 GB Notification: Performance of Transformations before backend: time 1.464e-05/1.509, allocations: 5.969 kB / 1.594 GB, free: 1.867 MB / 1.042 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.000683/1.51, allocations: 450.9 kB / 1.595 GB, free: 1.383 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/1.51, allocations: 16.03 kB / 1.595 GB, free: 1.367 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.366e-05/1.51, allocations: 23.67 kB / 1.595 GB, free: 1.344 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004403/1.511, allocations: 233.8 kB / 1.595 GB, free: 1.074 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/1.511, allocations: 4 kB / 1.595 GB, free: 1.07 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.48e-05/1.511, allocations: 4 kB / 1.595 GB, free: 1.066 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002273/1.511, allocations: 122.7 kB / 1.595 GB, free: 0.9414 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/1.511, allocations: 0 / 1.595 GB, free: 0.9414 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/1.511, allocations: 0 / 1.595 GB, free: 0.9414 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.598e-05/1.511, allocations: 11.95 kB / 1.595 GB, free: 0.9297 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001856/1.511, allocations: 95.95 kB / 1.595 GB, free: 0.8359 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008019/1.512, allocations: 440.6 kB / 1.596 GB, free: 364 kB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002275/1.512, allocations: 130.5 kB / 1.596 GB, free: 224 kB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001326/1.512, allocations: 80.83 kB / 1.596 GB, free: 140 kB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/1.512, allocations: 7.953 kB / 1.596 GB, free: 132 kB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/1.512, allocations: 30.56 kB / 1.596 GB, free: 92 kB / 1.042 GB Notification: Performance of pre-optimization done (n=13): time 1.402e-06/1.512, allocations: 0 / 1.596 GB, free: 92 kB / 1.042 GB Notification: Performance of matching and sorting (n=13): time 0.0003763/1.513, allocations: 165.7 kB / 1.596 GB, free: 15.92 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/1.513, allocations: 51.41 kB / 1.596 GB, free: 15.86 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001905/1.513, allocations: 188.9 kB / 1.596 GB, free: 15.67 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 3.186e-05/1.513, allocations: 33.7 kB / 1.596 GB, free: 15.63 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 7.539e-05/1.513, allocations: 116.1 kB / 1.596 GB, free: 15.51 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 4.464e-05/1.513, allocations: 43.36 kB / 1.596 GB, free: 15.47 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.011e-05/1.513, allocations: 4 kB / 1.596 GB, free: 15.46 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0001262/1.513, allocations: 326.8 kB / 1.597 GB, free: 15.14 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.02e-05/1.514, allocations: 51.91 kB / 1.597 GB, free: 15.09 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.05e-05/1.514, allocations: 43.98 kB / 1.597 GB, free: 15.04 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000101/1.514, allocations: 55.97 kB / 1.597 GB, free: 14.99 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/1.514, allocations: 0 / 1.597 GB, free: 14.99 MB / 1.057 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002725/1.514, allocations: 157.9 kB / 1.597 GB, free: 14.83 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/1.514, allocations: 7.953 kB / 1.597 GB, free: 14.82 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/1.514, allocations: 4 kB / 1.597 GB, free: 14.82 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/1.514, allocations: 3.984 kB / 1.597 GB, free: 14.81 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002459/1.514, allocations: 39.91 kB / 1.597 GB, free: 14.77 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/1.514, allocations: 3.984 kB / 1.597 GB, free: 14.77 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001596/1.514, allocations: 27.83 kB / 1.597 GB, free: 14.74 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.003e-05/1.515, allocations: 11.98 kB / 1.597 GB, free: 14.73 MB / 1.057 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 () * 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 9.422e-05/1.515, allocations: 105.7 kB / 1.597 GB, free: 14.62 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.314e-05/1.515, allocations: 15.81 kB / 1.597 GB, free: 14.61 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.876e-05/1.515, allocations: 33.86 kB / 1.597 GB, free: 14.57 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/1.515, allocations: 0 / 1.597 GB, free: 14.57 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/1.515, allocations: 0 / 1.597 GB, free: 14.57 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/1.515, allocations: 7.984 kB / 1.597 GB, free: 14.56 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000292/1.515, allocations: 257.5 kB / 1.598 GB, free: 14.26 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/1.515, allocations: 0 / 1.598 GB, free: 14.26 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002162/1.515, allocations: 43.89 kB / 1.598 GB, free: 14.22 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/1.515, allocations: 0 / 1.598 GB, free: 14.22 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/1.515, allocations: 0 / 1.598 GB, free: 14.22 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/1.515, allocations: 3.953 kB / 1.598 GB, free: 14.21 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/1.515, allocations: 0 / 1.598 GB, free: 14.21 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003259/1.516, allocations: 267 kB / 1.598 GB, free: 13.94 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/1.516, allocations: 116.8 kB / 1.598 GB, free: 13.81 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.392e-05/1.516, allocations: 7.984 kB / 1.598 GB, free: 13.8 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002078/1.516, allocations: 15.98 kB / 1.598 GB, free: 13.79 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.851e-05/1.516, allocations: 19.88 kB / 1.598 GB, free: 13.77 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/1.516, allocations: 8 kB / 1.598 GB, free: 13.76 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0001307/1.516, allocations: 149.4 kB / 1.598 GB, free: 13.61 MB / 1.057 GB Notification: Performance of sort global known variables: time 1.51e-07/1.516, allocations: 0 / 1.598 GB, free: 13.61 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0002846/1.517, allocations: 40 kB / 1.598 GB, free: 13.57 MB / 1.057 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 () * 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.0002636/1.517, allocations: 161.1 kB / 1.598 GB, free: 13.41 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.0002644/1.517, allocations: 115.9 kB / 1.598 GB, free: 13.3 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/1.517, allocations: 0 / 1.598 GB, free: 13.3 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.0001157/1.517, allocations: 71.97 kB / 1.599 GB, free: 13.23 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002693/1.518, allocations: 17.41 kB / 1.599 GB, free: 13.21 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005437/1.518, allocations: 241.1 kB / 1.599 GB, free: 12.95 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/1.518, allocations: 0.7355 MB / 1.6 GB, free: 12.19 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.0001842/1.519, allocations: 52.48 kB / 1.6 GB, free: 12.14 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.879e-05/1.519, allocations: 15.44 kB / 1.6 GB, free: 12.12 MB / 1.057 GB Notification: Performance of SimCode: time 2.3e-07/1.519, allocations: 0 / 1.6 GB, free: 12.12 MB / 1.057 GB Notification: Performance of Templates: time 0.005648/1.524, allocations: 2.399 MB / 1.602 GB, free: 9.738 MB / 1.057 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