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/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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_flow.1.|heaLos.QLos_flow.2.|heaLos.QLos_flow.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_flow.1.|heaLos.QLos_flow.2.|heaLos.QLos_flow.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001552/0.001552, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001571/0.001571, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.419/1.419, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.763/2.763, allocations: 472.7 MB / 0.7452 GB, free: 4.578 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 66.33 kB / 0.9121 GB, free: 33.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.3155, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003196/0.3187, allocations: 1.866 MB / 1.07 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003942/0.3227, allocations: 3.532 MB / 1.073 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.949e-05/0.3228, allocations: 8 kB / 1.074 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0007197/0.3236, allocations: 167.3 kB / 1.074 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001872/0.3238, allocations: 75.45 kB / 1.074 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 6.348e-05/0.3238, allocations: 31.91 kB / 1.074 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004233/0.3243, allocations: 255.2 kB / 1.074 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.51e-05/0.3244, allocations: 21.84 kB / 1.074 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.3245, allocations: 79.69 kB / 1.074 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001493/0.3246, allocations: 67.7 kB / 1.074 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.513e-05/0.3247, allocations: 8 kB / 1.074 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.202e-05/0.3248, allocations: 35.89 kB / 1.074 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.238e-05/0.3249, allocations: 51.83 kB / 1.074 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.77e-05/0.325, allocations: 87.48 kB / 1.074 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002198/0.3252, allocations: 187.2 kB / 1.075 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.3252, allocations: 0 / 1.075 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3252, allocations: 0 / 1.075 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.305e-06/0.3252, allocations: 0 / 1.075 GB, free: 3.91 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.0008239/0.326, allocations: 0.5161 MB / 1.075 GB, free: 3.348 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.3261, allocations: 12.03 kB / 1.075 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.179e-05/0.3261, allocations: 24.66 kB / 1.075 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003321/0.3265, allocations: 255.6 kB / 1.075 GB, free: 3.023 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.995e-06/0.3265, allocations: 4.312 kB / 1.075 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.049e-05/0.3265, allocations: 4.375 kB / 1.075 GB, free: 3.016 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003475/0.3269, allocations: 143.1 kB / 1.075 GB, free: 2.871 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.3269, allocations: 3.938 kB / 1.075 GB, free: 2.867 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.3269, allocations: 4 kB / 1.075 GB, free: 2.863 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.447e-05/0.327, allocations: 8 kB / 1.075 GB, free: 2.855 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004095/0.3274, allocations: 131.9 kB / 1.076 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006805/0.3281, allocations: 448.5 kB / 1.076 GB, free: 2.238 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000399/0.3285, allocations: 162.4 kB / 1.076 GB, free: 2.07 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002624/0.3287, allocations: 104.8 kB / 1.076 GB, free: 1.965 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.3288, allocations: 4 kB / 1.076 GB, free: 1.961 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.3288, allocations: 34.56 kB / 1.076 GB, free: 1.918 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 1.253e-06/0.3288, allocations: 0 / 1.076 GB, free: 1.918 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.0008177/0.3296, allocations: 281.7 kB / 1.077 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.086e-05/0.3297, allocations: 51.41 kB / 1.077 GB, free: 1.574 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002082/0.3299, allocations: 238.6 kB / 1.077 GB, free: 1.336 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/0.3299, allocations: 29.64 kB / 1.077 GB, free: 1.301 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.272e-05/0.33, allocations: 136 kB / 1.077 GB, free: 1.164 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.482e-05/0.3301, allocations: 47.34 kB / 1.077 GB, free: 1.117 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.619e-05/0.3301, allocations: 33.7 kB / 1.077 GB, free: 1.078 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.3303, allocations: 338.8 kB / 1.077 GB, free: 0.7383 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002141/0.3305, allocations: 67.94 kB / 1.077 GB, free: 0.6719 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00022/0.3307, allocations: 71.94 kB / 1.078 GB, free: 0.6016 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004203/0.3311, allocations: 159.7 kB / 1.078 GB, free: 456 kB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3311, allocations: 0 / 1.078 GB, free: 456 kB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005019/0.3316, allocations: 209.4 kB / 1.078 GB, free: 240 kB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.3317, allocations: 4 kB / 1.078 GB, free: 236 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.3317, allocations: 3.984 kB / 1.078 GB, free: 232 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.3317, allocations: 4 kB / 1.078 GB, free: 228 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002322/0.3319, allocations: 39.91 kB / 1.078 GB, free: 188 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.332, allocations: 3.938 kB / 1.078 GB, free: 184 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001467/0.3321, allocations: 19.83 kB / 1.078 GB, free: 164 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.766e-05/0.3321, allocations: 15.98 kB / 1.078 GB, free: 148 kB / 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.0001069/0.3322, allocations: 135.5 kB / 1.078 GB, free: 4 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.021e-05/0.3323, allocations: 23.89 kB / 1.078 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.432e-05/0.3324, allocations: 29.83 kB / 1.078 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.3324, allocations: 4 kB / 1.078 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.3324, allocations: 0 / 1.078 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.3324, allocations: 0 / 1.078 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002819/0.3327, allocations: 261.5 kB / 1.078 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.3327, allocations: 4 kB / 1.078 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002029/0.3329, allocations: 39.84 kB / 1.078 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3329, allocations: 4 kB / 1.078 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.3329, allocations: 4 kB / 1.078 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3329, allocations: 0 / 1.078 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.3329, allocations: 3.984 kB / 1.078 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005682/0.3335, allocations: 315.1 kB / 1.079 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.832e-05/0.3336, allocations: 108.8 kB / 1.079 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.264e-05/0.3337, allocations: 4 kB / 1.079 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001745/0.3339, allocations: 7.984 kB / 1.079 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.114e-05/0.3339, allocations: 23.91 kB / 1.079 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.3339, allocations: 0 / 1.079 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001499/0.3341, allocations: 182 kB / 1.079 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.4e-07/0.3341, allocations: 0 / 1.079 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002743/0.3344, allocations: 43.88 kB / 1.079 GB, free: 14.88 MB / 0.8419 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.0001562/0.3345, allocations: 99.78 kB / 1.079 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005243/0.3351, allocations: 187.8 kB / 1.079 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3351, allocations: 0 / 1.079 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002459/0.3353, allocations: 95.48 kB / 1.079 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004658/0.3358, allocations: 58.89 kB / 1.08 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007866/0.3366, allocations: 438 kB / 1.08 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003007/0.3369, allocations: 0.7434 MB / 1.081 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001681/0.3371, allocations: 56.95 kB / 1.081 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.141e-05/0.3371, allocations: 15.44 kB / 1.081 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.3372, allocations: 3.938 kB / 1.081 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of Templates: time 0.005189/0.3423, allocations: 2.245 MB / 1.083 GB, free: 10.94 MB / 0.8419 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches