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.001804/0.001804, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002523/0.002523, allocations: 191.4 kB / 16.14 MB, free: 6.711 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.466/1.466, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.897/2.897, allocations: 472.6 MB / 0.7447 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 67.5 kB / 0.9114 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3508, allocations: 159.9 MB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003624/0.3544, allocations: 1.913 MB / 1.069 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004604/0.3591, allocations: 3.517 MB / 1.073 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.897e-05/0.3592, allocations: 0 / 1.073 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0007941/0.36, allocations: 163.4 kB / 1.073 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001776/0.3602, allocations: 71.59 kB / 1.073 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 6.789e-05/0.3603, allocations: 19.97 kB / 1.073 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005681/0.3609, allocations: 279.1 kB / 1.073 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.361, allocations: 33.81 kB / 1.073 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.3611, allocations: 63.72 kB / 1.073 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001454/0.3613, allocations: 79.61 kB / 1.074 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.167e-05/0.3613, allocations: 4 kB / 1.074 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.766e-05/0.3614, allocations: 23.98 kB / 1.074 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.522e-05/0.3615, allocations: 59.73 kB / 1.074 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.129e-05/0.3616, allocations: 83.48 kB / 1.074 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002121/0.3618, allocations: 175.2 kB / 1.074 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.3618, allocations: 0 / 1.074 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.056e-06/0.3618, allocations: 0 / 1.074 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.3618, allocations: 3.938 kB / 1.074 GB, free: 4.395 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.0008723/0.3627, allocations: 0.5194 MB / 1.074 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.3627, allocations: 8.031 kB / 1.074 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.335e-05/0.3628, allocations: 24.66 kB / 1.074 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004475/0.3633, allocations: 251.6 kB / 1.075 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.3633, allocations: 4.375 kB / 1.075 GB, free: 3.508 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.107e-05/0.3633, allocations: 4.359 kB / 1.075 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003622/0.3637, allocations: 141.7 kB / 1.075 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.3637, allocations: 4 kB / 1.075 GB, free: 3.355 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.3637, allocations: 0 / 1.075 GB, free: 3.355 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.928e-05/0.3637, allocations: 11.98 kB / 1.075 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004271/0.3642, allocations: 127.9 kB / 1.075 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008019/0.365, allocations: 456.4 kB / 1.075 GB, free: 2.723 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004136/0.3654, allocations: 165.5 kB / 1.076 GB, free: 2.555 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002534/0.3657, allocations: 100.8 kB / 1.076 GB, free: 2.453 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.3657, allocations: 3.984 kB / 1.076 GB, free: 2.449 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.3657, allocations: 34.56 kB / 1.076 GB, free: 2.406 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 1.152e-06/0.3657, allocations: 4 kB / 1.076 GB, free: 2.402 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.0008245/0.3666, allocations: 277.7 kB / 1.076 GB, free: 2.125 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.039e-05/0.3666, allocations: 51.41 kB / 1.076 GB, free: 2.062 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002334/0.3669, allocations: 238.6 kB / 1.076 GB, free: 1.824 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.658e-05/0.3669, allocations: 33.7 kB / 1.076 GB, free: 1.785 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.622e-05/0.367, allocations: 140 kB / 1.076 GB, free: 1.645 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.839e-05/0.3671, allocations: 47.3 kB / 1.076 GB, free: 1.598 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.875e-05/0.3671, allocations: 29.7 kB / 1.076 GB, free: 1.562 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.3673, allocations: 334.8 kB / 1.077 GB, free: 1.227 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002231/0.3675, allocations: 71.92 kB / 1.077 GB, free: 1.156 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002484/0.3678, allocations: 71.94 kB / 1.077 GB, free: 1.086 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004129/0.3682, allocations: 156 kB / 1.077 GB, free: 0.9336 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3682, allocations: 0 / 1.077 GB, free: 0.9336 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005038/0.3687, allocations: 217.3 kB / 1.077 GB, free: 0.7148 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.3687, allocations: 4 kB / 1.077 GB, free: 0.7109 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.3687, allocations: 3.984 kB / 1.077 GB, free: 0.707 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.3688, allocations: 0 / 1.077 GB, free: 0.707 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002627/0.369, allocations: 31.97 kB / 1.077 GB, free: 0.6758 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.369, allocations: 0 / 1.077 GB, free: 0.6758 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001531/0.3692, allocations: 31.81 kB / 1.077 GB, free: 0.6445 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.3692, allocations: 4 kB / 1.077 GB, free: 0.6406 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.0001231/0.3693, allocations: 141.7 kB / 1.077 GB, free: 0.4922 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.436e-05/0.3694, allocations: 19.72 kB / 1.077 GB, free: 484 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.963e-05/0.3695, allocations: 33.83 kB / 1.077 GB, free: 448 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.3695, allocations: 0 / 1.077 GB, free: 448 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.353e-06/0.3695, allocations: 4 kB / 1.078 GB, free: 444 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.3695, allocations: 0 / 1.078 GB, free: 444 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002773/0.3698, allocations: 269.5 kB / 1.078 GB, free: 124 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3698, allocations: 0 / 1.078 GB, free: 124 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002101/0.37, allocations: 35.91 kB / 1.078 GB, free: 88 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.37, allocations: 0 / 1.078 GB, free: 88 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.177e-05/0.37, allocations: 11.98 kB / 1.078 GB, free: 76 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.37, allocations: 0 / 1.078 GB, free: 76 kB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.37, allocations: 0 / 1.078 GB, free: 76 kB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005663/0.3706, allocations: 311 kB / 1.078 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.604e-05/0.3707, allocations: 112.8 kB / 1.078 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.42e-05/0.3708, allocations: 3.984 kB / 1.078 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001736/0.3709, allocations: 11.98 kB / 1.078 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.41e-05/0.371, allocations: 11.98 kB / 1.078 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.371, allocations: 8 kB / 1.078 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001651/0.3712, allocations: 174 kB / 1.078 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.475e-06/0.3712, allocations: 0 / 1.078 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002827/0.3715, allocations: 55.81 kB / 1.078 GB, free: 15.36 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.0001933/0.3717, allocations: 103.2 kB / 1.079 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005149/0.3722, allocations: 167.8 kB / 1.079 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3722, allocations: 0 / 1.079 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002417/0.3725, allocations: 95.86 kB / 1.079 GB, free: 15 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004882/0.373, allocations: 47.53 kB / 1.079 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008132/0.3738, allocations: 498.8 kB / 1.079 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003773/0.3742, allocations: 0.7399 MB / 1.08 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001735/0.3744, allocations: 49.03 kB / 1.08 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.681e-05/0.3744, allocations: 19.42 kB / 1.08 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.3745, allocations: 3.938 kB / 1.08 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of Templates: time 0.005128/0.3796, allocations: 2.073 MB / 1.082 GB, free: 11.57 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