Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.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_9_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_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.397/2.397, allocations: 387.1 MB / 399.7 MB, free: 9.488 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.001193/0.001193, allocations: 177 kB / 492.3 MB, free: 0.6094 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.628/1.628, allocations: 221.3 MB / 0.7871 GB, free: 12.95 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.0009306/0.0009307, allocations: 95.14 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.171e-05/3.174e-05, allocations: 7.922 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3331, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.103/1.437, allocations: 374.3 MB / 1.578 GB, free: 7.352 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002738/1.437, allocations: 96.72 kB / 1.578 GB, free: 7.297 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 0.02347/1.46, allocations: 9.589 MB / 1.587 GB, free: 15.43 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.795e-06/1.46, allocations: 0 / 1.587 GB, free: 15.43 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.102e-05/1.46, allocations: 1.531 kB / 1.587 GB, free: 15.43 MB / 1.01 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.0006759/1.461, allocations: 470.4 kB / 1.588 GB, free: 14.94 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/1.461, allocations: 8.031 kB / 1.588 GB, free: 14.93 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5e-05/1.461, allocations: 19.77 kB / 1.588 GB, free: 14.91 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004235/1.462, allocations: 235.2 kB / 1.588 GB, free: 14.65 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.735e-05/1.462, allocations: 5.422 kB / 1.588 GB, free: 14.65 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/1.462, allocations: 0 / 1.588 GB, free: 14.65 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002362/1.462, allocations: 116.4 kB / 1.588 GB, free: 14.55 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/1.462, allocations: 11.94 kB / 1.588 GB, free: 14.54 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.843e-05/1.462, allocations: 0 / 1.588 GB, free: 14.54 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.408e-05/1.462, allocations: 11.98 kB / 1.588 GB, free: 14.53 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001772/1.462, allocations: 86.17 kB / 1.588 GB, free: 14.47 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007392/1.463, allocations: 446.3 kB / 1.589 GB, free: 14.04 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002125/1.463, allocations: 137.6 kB / 1.589 GB, free: 13.94 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001203/1.463, allocations: 82.94 kB / 1.589 GB, free: 13.88 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/1.463, allocations: 0 / 1.589 GB, free: 13.88 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/1.463, allocations: 37.89 kB / 1.589 GB, free: 13.84 MB / 1.01 GB Notification: Performance of pre-optimization done (n=13): time 2.395e-06/1.463, allocations: 3.984 kB / 1.589 GB, free: 13.83 MB / 1.01 GB Notification: Performance of matching and sorting (n=13): time 0.0003289/1.464, allocations: 158.2 kB / 1.589 GB, free: 13.7 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/1.464, allocations: 55.41 kB / 1.589 GB, free: 13.64 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001814/1.464, allocations: 183.2 kB / 1.589 GB, free: 13.47 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/1.464, allocations: 29.39 kB / 1.589 GB, free: 13.44 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 6.676e-05/1.464, allocations: 122.9 kB / 1.589 GB, free: 13.34 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 4.114e-05/1.464, allocations: 39.23 kB / 1.59 GB, free: 13.31 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.506e-06/1.464, allocations: 3.938 kB / 1.59 GB, free: 13.3 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001417/1.464, allocations: 334.1 kB / 1.59 GB, free: 12.98 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.599e-05/1.464, allocations: 51.36 kB / 1.59 GB, free: 12.94 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.706e-05/1.464, allocations: 47.05 kB / 1.59 GB, free: 12.91 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001094/1.465, allocations: 48.22 kB / 1.59 GB, free: 12.88 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/1.465, allocations: 0 / 1.59 GB, free: 12.88 MB / 1.01 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002558/1.465, allocations: 160 kB / 1.59 GB, free: 12.75 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/1.465, allocations: 11.98 kB / 1.59 GB, free: 12.74 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/1.465, allocations: 0 / 1.59 GB, free: 12.74 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/1.465, allocations: 3.953 kB / 1.59 GB, free: 12.73 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002391/1.465, allocations: 43.91 kB / 1.59 GB, free: 12.69 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/1.465, allocations: 0 / 1.59 GB, free: 12.69 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001513/1.465, allocations: 19.92 kB / 1.59 GB, free: 12.67 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.759e-05/1.465, allocations: 7.984 kB / 1.59 GB, free: 12.66 MB / 1.01 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 7.843e-05/1.465, allocations: 106.5 kB / 1.59 GB, free: 12.56 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.163e-05/1.465, allocations: 19.81 kB / 1.59 GB, free: 12.54 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.903e-05/1.466, allocations: 37.52 kB / 1.59 GB, free: 12.52 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/1.466, allocations: 3.953 kB / 1.59 GB, free: 12.51 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/1.466, allocations: 0 / 1.59 GB, free: 12.51 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.686e-06/1.466, allocations: 0 / 1.59 GB, free: 12.51 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002701/1.466, allocations: 255.5 kB / 1.591 GB, free: 12.24 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/1.466, allocations: 0 / 1.591 GB, free: 12.24 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002057/1.466, allocations: 43.89 kB / 1.591 GB, free: 12.2 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/1.466, allocations: 0 / 1.591 GB, free: 12.2 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/1.466, allocations: 3.812 kB / 1.591 GB, free: 12.2 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/1.466, allocations: 11.94 kB / 1.591 GB, free: 12.19 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/1.466, allocations: 3.953 kB / 1.591 GB, free: 12.18 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002976/1.466, allocations: 256.1 kB / 1.591 GB, free: 11.95 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/1.467, allocations: 119.6 kB / 1.591 GB, free: 11.82 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.608e-05/1.467, allocations: 0 / 1.591 GB, free: 11.82 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001768/1.467, allocations: 23.86 kB / 1.591 GB, free: 11.8 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.189e-05/1.467, allocations: 7.984 kB / 1.591 GB, free: 11.8 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/1.467, allocations: 7.953 kB / 1.591 GB, free: 11.79 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001111/1.467, allocations: 151.9 kB / 1.591 GB, free: 11.67 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.3e-07/1.467, allocations: 0 / 1.591 GB, free: 11.67 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0002576/1.467, allocations: 39.75 kB / 1.591 GB, free: 11.63 MB / 1.01 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.0002734/1.468, allocations: 160.2 kB / 1.591 GB, free: 11.47 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0002351/1.468, allocations: 110.6 kB / 1.592 GB, free: 11.39 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/1.468, allocations: 352 / 1.592 GB, free: 11.39 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001149/1.468, allocations: 72.22 kB / 1.592 GB, free: 11.34 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002513/1.468, allocations: 28.34 kB / 1.592 GB, free: 11.32 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004995/1.469, allocations: 232.8 kB / 1.592 GB, free: 11.1 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003277/1.469, allocations: 0.7277 MB / 1.593 GB, free: 10.35 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0001753/1.469, allocations: 57.09 kB / 1.593 GB, free: 10.29 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.485e-05/1.469, allocations: 15.44 kB / 1.593 GB, free: 10.27 MB / 1.01 GB Notification: Performance of SimCode: time 2.61e-07/1.469, allocations: 0 / 1.593 GB, free: 10.27 MB / 1.01 GB Notification: Performance of Templates: time 0.005474/1.475, allocations: 2.4 MB / 1.595 GB, free: 7.898 MB / 1.01 GB make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches