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.415/2.415, allocations: 393.5 MB / 408.4 MB, free: 10.97 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.001235/0.001235, allocations: 181.7 kB / 0.4902 GB, free: 2.242 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.751/1.751, allocations: 223.1 MB / 0.7992 GB, free: 14.66 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.001174/0.001174, allocations: 98.27 kB / 0.9396 GB, free: 1.824 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000474/0.0004741, allocations: 7.594 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4116/0.4121, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.518/1.93, allocations: 374.9 MB / 1.595 GB, free: 5.656 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003664/1.931, allocations: 86.08 kB / 1.595 GB, free: 5.609 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.02544/1.956, allocations: 9.655 MB / 1.605 GB, free: 13.71 MB / 0.9323 GB Notification: Performance of FrontEnd: time 3.327e-06/1.956, allocations: 3.938 kB / 1.605 GB, free: 13.71 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 2.958e-05/1.956, allocations: 4 kB / 1.605 GB, free: 13.7 MB / 0.9323 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.001063/1.957, allocations: 494 kB / 1.605 GB, free: 13.18 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 6.55e-05/1.957, allocations: 12.56 kB / 1.605 GB, free: 13.17 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001114/1.958, allocations: 23.67 kB / 1.605 GB, free: 13.15 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005448/1.958, allocations: 236.3 kB / 1.606 GB, free: 12.89 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/1.958, allocations: 4 kB / 1.606 GB, free: 12.88 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.474e-05/1.958, allocations: 4 kB / 1.606 GB, free: 12.88 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004359/1.959, allocations: 145.9 kB / 1.606 GB, free: 12.75 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/1.959, allocations: 4 kB / 1.606 GB, free: 12.75 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.131e-05/1.959, allocations: 0 / 1.606 GB, free: 12.75 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.401e-05/1.959, allocations: 11.95 kB / 1.606 GB, free: 12.74 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004874/1.959, allocations: 151.6 kB / 1.606 GB, free: 12.62 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009882/1.96, allocations: 445.9 kB / 1.606 GB, free: 12.19 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004514/1.961, allocations: 173.4 kB / 1.606 GB, free: 12.05 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 2.882e-05/1.961, allocations: 4 kB / 1.606 GB, free: 12.05 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.844e-05/1.961, allocations: 34.52 kB / 1.607 GB, free: 12 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=13): time 3.146e-06/1.961, allocations: 0 / 1.607 GB, free: 12 MB / 0.9323 GB Notification: Performance of matching and sorting (n=13): time 0.0009693/1.962, allocations: 318.5 kB / 1.607 GB, free: 11.74 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.637e-05/1.962, allocations: 59.34 kB / 1.607 GB, free: 11.67 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002285/1.962, allocations: 185.8 kB / 1.607 GB, free: 11.5 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.572e-05/1.962, allocations: 28.95 kB / 1.607 GB, free: 11.47 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/1.962, allocations: 117.3 kB / 1.607 GB, free: 11.38 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 6.589e-05/1.962, allocations: 54.66 kB / 1.607 GB, free: 11.33 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.194e-05/1.962, allocations: 4 kB / 1.607 GB, free: 11.33 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001619/1.962, allocations: 326.3 kB / 1.608 GB, free: 11.01 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002349/1.963, allocations: 77.92 kB / 1.608 GB, free: 10.95 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002164/1.963, allocations: 82 kB / 1.608 GB, free: 10.88 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002331/1.963, allocations: 77.52 kB / 1.608 GB, free: 10.82 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/1.963, allocations: 7.984 kB / 1.608 GB, free: 10.82 MB / 0.9323 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005463/1.964, allocations: 213.8 kB / 1.608 GB, free: 10.63 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 3.448e-05/1.964, allocations: 13.97 kB / 1.608 GB, free: 10.62 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/1.964, allocations: 3.953 kB / 1.608 GB, free: 10.62 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.52e-05/1.964, allocations: 0 / 1.608 GB, free: 10.62 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002918/1.964, allocations: 47.77 kB / 1.608 GB, free: 10.57 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/1.964, allocations: 0 / 1.608 GB, free: 10.57 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001794/1.964, allocations: 23.89 kB / 1.608 GB, free: 10.55 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.715e-05/1.964, allocations: 4 kB / 1.608 GB, free: 10.55 MB / 0.9323 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.0001605/1.965, allocations: 128.1 kB / 1.608 GB, free: 10.42 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.513e-05/1.965, allocations: 15.81 kB / 1.608 GB, free: 10.41 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.124e-05/1.965, allocations: 24.08 kB / 1.608 GB, free: 10.39 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/1.965, allocations: 7.953 kB / 1.608 GB, free: 10.39 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.006e-06/1.965, allocations: 0 / 1.608 GB, free: 10.39 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/1.965, allocations: 0 / 1.608 GB, free: 10.39 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003468/1.965, allocations: 263.7 kB / 1.609 GB, free: 10.11 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/1.965, allocations: 0 / 1.609 GB, free: 10.11 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000239/1.965, allocations: 39.91 kB / 1.609 GB, free: 10.07 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.116e-06/1.965, allocations: 4 kB / 1.609 GB, free: 10.07 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.024e-05/1.965, allocations: 3.5 kB / 1.609 GB, free: 10.07 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/1.965, allocations: 0 / 1.609 GB, free: 10.07 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.117e-06/1.965, allocations: 11.94 kB / 1.609 GB, free: 10.06 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006373/1.966, allocations: 325.2 kB / 1.609 GB, free: 9.762 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/1.966, allocations: 100.5 kB / 1.609 GB, free: 9.648 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.417e-05/1.966, allocations: 7.5 kB / 1.609 GB, free: 9.645 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001868/1.966, allocations: 15.97 kB / 1.609 GB, free: 9.629 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.647e-05/1.967, allocations: 19.44 kB / 1.609 GB, free: 9.613 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/1.967, allocations: 3.938 kB / 1.609 GB, free: 9.609 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001488/1.967, allocations: 157.9 kB / 1.609 GB, free: 9.477 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.3e-07/1.967, allocations: 3.938 kB / 1.609 GB, free: 9.473 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0003414/1.967, allocations: 51.33 kB / 1.609 GB, free: 9.426 MB / 0.9323 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.00036/1.967, allocations: 144.6 kB / 1.609 GB, free: 9.281 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0005648/1.968, allocations: 175.5 kB / 1.61 GB, free: 9.141 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/1.968, allocations: 8 kB / 1.61 GB, free: 9.133 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0002625/1.968, allocations: 93.75 kB / 1.61 GB, free: 9.059 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/1.969, allocations: 20.53 kB / 1.61 GB, free: 9.043 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/1.97, allocations: 487.8 kB / 1.61 GB, free: 8.566 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00042/1.97, allocations: 0.7393 MB / 1.611 GB, free: 7.801 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0002037/1.97, allocations: 56.36 kB / 1.611 GB, free: 7.746 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.264e-05/1.97, allocations: 19.36 kB / 1.611 GB, free: 7.727 MB / 0.9323 GB Notification: Performance of SimCode: time 8.22e-07/1.97, allocations: 0 / 1.611 GB, free: 7.727 MB / 0.9323 GB Notification: Performance of Templates: time 0.00682/1.977, allocations: 2.185 MB / 1.613 GB, free: 5.57 MB / 0.9323 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