Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.001638/0.001638, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001928/0.001928, allocations: 192.2 kB / 16.26 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.82/2.82, allocations: 469.8 MB / 0.742 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 67.38 kB / 0.908 GB, free: 34.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.348/0.35, allocations: 159.2 MB / 1.063 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003712/0.3538, allocations: 1.965 MB / 1.065 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004693/0.3585, allocations: 3.408 MB / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.3586, allocations: 0 / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002853/0.3589, allocations: 43.75 kB / 1.069 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004626/0.3594, allocations: 119.4 kB / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 7.76e-05/0.3595, allocations: 23.92 kB / 1.069 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002998/0.3598, allocations: 167.2 kB / 1.069 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.3599, allocations: 37.66 kB / 1.069 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002309/0.3601, allocations: 79.69 kB / 1.069 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001581/0.3603, allocations: 79.58 kB / 1.069 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.655e-05/0.3603, allocations: 8 kB / 1.069 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.3605, allocations: 31.95 kB / 1.069 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.653e-05/0.3605, allocations: 43.78 kB / 1.069 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001018/0.3607, allocations: 71.55 kB / 1.069 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002507/0.3609, allocations: 167.3 kB / 1.07 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3609, allocations: 0 / 1.07 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.794e-06/0.3609, allocations: 3.938 kB / 1.07 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.3609, allocations: 0 / 1.07 GB, free: 8.332 MB / 0.8262 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.0009701/0.3619, allocations: 0.4906 MB / 1.07 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.362, allocations: 12.03 kB / 1.07 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.464e-05/0.362, allocations: 20.66 kB / 1.07 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003908/0.3624, allocations: 254.8 kB / 1.07 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.3624, allocations: 384 / 1.07 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.516e-05/0.3625, allocations: 8.359 kB / 1.07 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003637/0.3628, allocations: 137.7 kB / 1.07 GB, free: 7.324 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.3629, allocations: 8 kB / 1.07 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.3629, allocations: 0 / 1.07 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.524e-05/0.3629, allocations: 8 kB / 1.07 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004222/0.3633, allocations: 135.9 kB / 1.071 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000744/0.3641, allocations: 444.5 kB / 1.071 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004366/0.3645, allocations: 162.5 kB / 1.071 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002607/0.3648, allocations: 100.8 kB / 1.071 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.3648, allocations: 0 / 1.071 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.3649, allocations: 30.56 kB / 1.071 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 2.776e-06/0.3649, allocations: 0 / 1.071 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.0008518/0.3657, allocations: 295.3 kB / 1.072 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.3658, allocations: 51.41 kB / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002534/0.3661, allocations: 209 kB / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.3661, allocations: 25.7 kB / 1.072 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001782/0.3663, allocations: 124 kB / 1.072 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.057e-05/0.3663, allocations: 55.3 kB / 1.072 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.694e-05/0.3664, allocations: 29.7 kB / 1.072 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002382/0.3667, allocations: 330.8 kB / 1.072 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002252/0.3669, allocations: 71.94 kB / 1.072 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002131/0.3671, allocations: 71.94 kB / 1.072 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004454/0.3676, allocations: 159.7 kB / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3676, allocations: 3.938 kB / 1.073 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000527/0.3681, allocations: 209.4 kB / 1.073 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.3681, allocations: 5.25 kB / 1.073 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.3681, allocations: 4 kB / 1.073 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.3682, allocations: 0 / 1.073 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002623/0.3684, allocations: 31.97 kB / 1.073 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.3684, allocations: 0 / 1.073 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001482/0.3686, allocations: 19.89 kB / 1.073 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.19e-05/0.3686, allocations: 11.98 kB / 1.073 GB, free: 4.652 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001439/0.3688, allocations: 129.7 kB / 1.073 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.411e-05/0.3688, allocations: 15.81 kB / 1.073 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.446e-05/0.3689, allocations: 25.83 kB / 1.073 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.3689, allocations: 7.938 kB / 1.073 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.3689, allocations: 0 / 1.073 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.3689, allocations: 0 / 1.073 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003305/0.3693, allocations: 265.3 kB / 1.073 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3693, allocations: 4 kB / 1.073 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002075/0.3695, allocations: 31.97 kB / 1.073 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.3695, allocations: 4 kB / 1.073 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.945e-05/0.3695, allocations: 7.984 kB / 1.073 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3695, allocations: 0 / 1.073 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3695, allocations: 0 / 1.073 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005964/0.3701, allocations: 315.1 kB / 1.074 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001213/0.3703, allocations: 112.9 kB / 1.074 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.265e-05/0.3703, allocations: 4 kB / 1.074 GB, free: 3.648 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001699/0.3705, allocations: 15.92 kB / 1.074 GB, free: 3.633 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.091e-05/0.3706, allocations: 11.98 kB / 1.074 GB, free: 3.621 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.3706, allocations: 4 kB / 1.074 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001417/0.3707, allocations: 160.5 kB / 1.074 GB, free: 3.461 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3707, allocations: 0 / 1.074 GB, free: 3.461 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002743/0.371, allocations: 35.94 kB / 1.074 GB, free: 3.426 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000258/0.3713, allocations: 107.2 kB / 1.074 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005504/0.3718, allocations: 188.9 kB / 1.074 GB, free: 3.129 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3718, allocations: 0 / 1.074 GB, free: 3.129 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002398/0.3721, allocations: 91.86 kB / 1.074 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004306/0.3725, allocations: 30.36 kB / 1.074 GB, free: 3.012 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008265/0.3734, allocations: 459.1 kB / 1.075 GB, free: 2.539 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003931/0.3738, allocations: 0.7275 MB / 1.076 GB, free: 1.785 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001728/0.374, allocations: 44.61 kB / 1.076 GB, free: 1.742 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.424e-05/0.374, allocations: 23.42 kB / 1.076 GB, free: 1.719 MB / 0.8262 GB Notification: Performance of SimCode: time 4.41e-07/0.374, allocations: 0 / 1.076 GB, free: 1.719 MB / 0.8262 GB Notification: Performance of Templates: time 0.004737/0.3788, allocations: 1.603 MB / 1.077 GB, free: 136 kB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches