Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.459/1.459, allocations: 249.3 MB / 261.8 MB, free: 5.902 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001107/0.001107, allocations: 178 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.485/1.485, allocations: 205.2 MB / 0.572 GB, free: 10.7 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008163/0.0008163, allocations: 86.44 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.928e-05/2.93e-05, allocations: 4 kB / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1941/0.1942, allocations: 106.3 MB / 0.8918 GB, free: 6.684 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7976/0.9918, allocations: 355.4 MB / 1.239 GB, free: 11.03 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002153/0.992, allocations: 81.39 kB / 1.239 GB, free: 10.99 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.02119/1.013, allocations: 9.216 MB / 1.248 GB, free: 2.555 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.833e-06/1.013, allocations: 0 / 1.248 GB, free: 2.555 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.012e-05/1.013, allocations: 0 / 1.248 GB, free: 2.555 MB / 0.8542 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.0005855/1.014, allocations: 458.3 kB / 1.248 GB, free: 2.062 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/1.014, allocations: 11.97 kB / 1.248 GB, free: 2.051 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.829e-05/1.014, allocations: 27.67 kB / 1.248 GB, free: 2.023 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003767/1.014, allocations: 233.7 kB / 1.249 GB, free: 1.758 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/1.014, allocations: 4 kB / 1.249 GB, free: 1.754 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/1.014, allocations: 7.938 kB / 1.249 GB, free: 1.746 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002018/1.015, allocations: 109.6 kB / 1.249 GB, free: 1.633 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/1.015, allocations: 0 / 1.249 GB, free: 1.633 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.796e-05/1.015, allocations: 8 kB / 1.249 GB, free: 1.625 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.831e-05/1.015, allocations: 11.98 kB / 1.249 GB, free: 1.613 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001721/1.015, allocations: 83.97 kB / 1.249 GB, free: 1.531 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006818/1.016, allocations: 452.5 kB / 1.249 GB, free: 1.039 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001998/1.016, allocations: 134.5 kB / 1.249 GB, free: 0.8984 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001234/1.016, allocations: 80.83 kB / 1.249 GB, free: 0.8164 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/1.016, allocations: 4 kB / 1.249 GB, free: 0.8125 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/1.016, allocations: 30.56 kB / 1.249 GB, free: 0.7734 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 1.253e-06/1.016, allocations: 0 / 1.249 GB, free: 0.7734 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.0003287/1.016, allocations: 169.4 kB / 1.25 GB, free: 0.6016 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.1e-05/1.016, allocations: 51.41 kB / 1.25 GB, free: 0.5391 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001767/1.017, allocations: 188.9 kB / 1.25 GB, free: 356 kB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/1.017, allocations: 25.7 kB / 1.25 GB, free: 324 kB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.993e-05/1.017, allocations: 124.1 kB / 1.25 GB, free: 196 kB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.684e-05/1.017, allocations: 43.34 kB / 1.25 GB, free: 152 kB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.023e-05/1.017, allocations: 4 kB / 1.25 GB, free: 148 kB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.4558/1.473, allocations: 327.4 kB / 1.25 GB, free: 306.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002115/1.473, allocations: 42.45 kB / 1.25 GB, free: 306.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001051/1.473, allocations: 46.95 kB / 1.25 GB, free: 306.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/1.473, allocations: 54.33 kB / 1.251 GB, free: 306.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/1.473, allocations: 1.906 kB / 1.251 GB, free: 306.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003789/1.473, allocations: 158.1 kB / 1.251 GB, free: 306.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/1.474, allocations: 5.625 kB / 1.251 GB, free: 306.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/1.474, allocations: 0.625 kB / 1.251 GB, free: 306.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/1.474, allocations: 2.656 kB / 1.251 GB, free: 306.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002922/1.474, allocations: 41.41 kB / 1.251 GB, free: 306.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.168e-06/1.474, allocations: 1.375 kB / 1.251 GB, free: 306.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000183/1.474, allocations: 26.75 kB / 1.251 GB, free: 306.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/1.474, allocations: 7.547 kB / 1.251 GB, free: 306.8 MB / 0.8542 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 6.5e-05/1.474, allocations: 117.4 kB / 1.251 GB, free: 306.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.498e-05/1.474, allocations: 19.03 kB / 1.251 GB, free: 306.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.707e-05/1.474, allocations: 25.86 kB / 1.251 GB, free: 306.6 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/1.474, allocations: 2.219 kB / 1.251 GB, free: 306.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/1.474, allocations: 0 / 1.251 GB, free: 306.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/1.474, allocations: 3.922 kB / 1.251 GB, free: 306.6 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002957/1.475, allocations: 257.6 kB / 1.251 GB, free: 306.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/1.475, allocations: 0 / 1.251 GB, free: 306.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002137/1.475, allocations: 42.44 kB / 1.251 GB, free: 306.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/1.475, allocations: 1.594 kB / 1.251 GB, free: 306.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.693e-05/1.475, allocations: 3.078 kB / 1.251 GB, free: 306.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/1.475, allocations: 1.516 kB / 1.251 GB, free: 306.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/1.475, allocations: 0 / 1.251 GB, free: 306.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003349/1.475, allocations: 263.6 kB / 1.251 GB, free: 306.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/1.475, allocations: 112.9 kB / 1.252 GB, free: 306.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.851e-05/1.475, allocations: 2.969 kB / 1.252 GB, free: 306.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001841/1.476, allocations: 20.64 kB / 1.252 GB, free: 306.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.012e-05/1.476, allocations: 12.92 kB / 1.252 GB, free: 306.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/1.476, allocations: 4.453 kB / 1.252 GB, free: 306.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001387/1.476, allocations: 151.2 kB / 1.252 GB, free: 306.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.6e-07/1.476, allocations: 0 / 1.252 GB, free: 306.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002901/1.476, allocations: 40.72 kB / 1.252 GB, free: 306.1 MB / 0.8542 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.0002565/1.476, allocations: 160.2 kB / 1.252 GB, free: 306 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002752/1.477, allocations: 116.1 kB / 1.252 GB, free: 306 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/1.477, allocations: 2.188 kB / 1.252 GB, free: 306 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001513/1.477, allocations: 70.19 kB / 1.252 GB, free: 306 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002818/1.477, allocations: 22.8 kB / 1.252 GB, free: 306 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005509/1.478, allocations: 237.5 kB / 1.252 GB, free: 305.9 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002057/1.478, allocations: 0.7305 MB / 1.253 GB, free: 305.2 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001831/1.478, allocations: 52.97 kB / 1.253 GB, free: 305.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.734e-05/1.478, allocations: 17.66 kB / 1.253 GB, free: 305.2 MB / 0.8542 GB Notification: Performance of SimCode: time 3.2e-07/1.478, allocations: 0 / 1.253 GB, free: 305.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.006486/1.485, allocations: 2.404 MB / 1.255 GB, free: 305.1 MB / 0.8542 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches