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/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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 92.16 kB / 16.02 MB, free: 80 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.001236/0.001236, allocations: 175.8 kB / 16.92 MB, free: 6.652 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.396/1.396, allocations: 223.3 MB / 241 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.484/2.484, allocations: 390.9 MB / 0.667 GB, free: 2.266 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003711/0.0003712, allocations: 8 kB / 0.8166 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7419/0.7423, allocations: 142.4 MB / 0.9557 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.001868/0.7442, allocations: 1.617 MB / 0.9573 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00344/0.7477, allocations: 3.375 MB / 0.9606 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.225e-05/0.7478, allocations: 1.312 kB / 0.9606 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002306/0.748, allocations: 44.95 kB / 0.9606 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003772/0.7484, allocations: 123.9 kB / 0.9607 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.855e-05/0.7485, allocations: 20.45 kB / 0.9608 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002001/0.7487, allocations: 180.9 kB / 0.9609 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.7488, allocations: 28.17 kB / 0.961 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001709/0.749, allocations: 72.33 kB / 0.961 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001459/0.7491, allocations: 79.58 kB / 0.9611 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.502e-05/0.7492, allocations: 5.031 kB / 0.9611 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.191e-05/0.7493, allocations: 23.27 kB / 0.9611 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.042e-05/0.7493, allocations: 38.38 kB / 0.9612 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.257e-05/0.7494, allocations: 91.25 kB / 0.9613 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001367/0.7496, allocations: 111.5 kB / 0.9614 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.7496, allocations: 0 / 0.9614 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7496, allocations: 0 / 0.9614 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.197e-06/0.7496, allocations: 1.375 kB / 0.9614 GB, free: 3.121 MB / 0.7169 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.0007318/0.7503, allocations: 494.1 kB / 0.9618 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.7504, allocations: 17.56 kB / 0.9619 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.462e-05/0.7504, allocations: 17 kB / 0.9619 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002826/0.7507, allocations: 243.6 kB / 0.9621 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.7507, allocations: 3.125 kB / 0.9621 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.7508, allocations: 3.125 kB / 0.9621 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003396/0.7511, allocations: 151.9 kB / 0.9623 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.7511, allocations: 0 / 0.9623 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/0.7511, allocations: 7.922 kB / 0.9623 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.034e-05/0.7512, allocations: 12.23 kB / 0.9623 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004336/0.7516, allocations: 152.2 kB / 0.9624 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006348/0.7523, allocations: 455.4 kB / 0.9629 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004214/0.7527, allocations: 178.3 kB / 0.963 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002678/0.753, allocations: 108.4 kB / 0.9631 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.753, allocations: 4.922 kB / 0.9631 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.965e-05/0.753, allocations: 40.53 kB / 0.9632 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/0.753, allocations: 0 / 0.9632 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0008383/0.7539, allocations: 297.5 kB / 0.9635 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.523e-05/0.7539, allocations: 56.8 kB / 0.9635 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001643/0.7541, allocations: 208.7 kB / 0.9637 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.7541, allocations: 30.89 kB / 0.9637 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.44e-05/0.7542, allocations: 119.6 kB / 0.9638 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.834e-05/0.7542, allocations: 41.08 kB / 0.9639 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.93e-05/0.7542, allocations: 17.19 kB / 0.9639 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.597e-05/0.7543, allocations: 335.4 kB / 0.9642 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002209/0.7545, allocations: 76.72 kB / 0.9643 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002091/0.7547, allocations: 79.19 kB / 0.9644 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004489/0.7552, allocations: 177.6 kB / 0.9645 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.7552, allocations: 0 / 0.9645 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005146/0.7557, allocations: 226.6 kB / 0.9648 GB, free: 476 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.7558, allocations: 4.938 kB / 0.9648 GB, free: 476 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.7558, allocations: 5.125 kB / 0.9648 GB, free: 472 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.7558, allocations: 1.156 kB / 0.9648 GB, free: 472 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002371/0.756, allocations: 39.61 kB / 0.9648 GB, free: 460 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.7561, allocations: 0 / 0.9648 GB, free: 460 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001643/0.7562, allocations: 24.45 kB / 0.9648 GB, free: 448 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.473e-05/0.7562, allocations: 7.75 kB / 0.9648 GB, free: 444 kB / 0.7169 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 8.818e-05/0.7563, allocations: 133.5 kB / 0.965 GB, free: 308 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.195e-05/0.7564, allocations: 21.03 kB / 0.965 GB, free: 296 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.559e-05/0.7564, allocations: 26.17 kB / 0.965 GB, free: 276 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.7565, allocations: 1.125 kB / 0.965 GB, free: 276 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/0.7565, allocations: 5.125 kB / 0.965 GB, free: 272 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.7565, allocations: 0 / 0.965 GB, free: 272 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002543/0.7567, allocations: 262.7 kB / 0.9653 GB, free: 0 / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.7567, allocations: 1.25 kB / 0.9653 GB, free: 16 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002074/0.757, allocations: 43.62 kB / 0.9653 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.757, allocations: 1 kB / 0.9653 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.667e-05/0.757, allocations: 5.25 kB / 0.9653 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.757, allocations: 3.984 kB / 0.9653 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.757, allocations: 1.562 kB / 0.9653 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005952/0.7576, allocations: 331 kB / 0.9656 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.7577, allocations: 115.1 kB / 0.9657 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.852e-05/0.7578, allocations: 1.188 kB / 0.9657 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001823/0.758, allocations: 22.28 kB / 0.9658 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.602e-05/0.758, allocations: 8.578 kB / 0.9658 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.758, allocations: 3.219 kB / 0.9658 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001256/0.7582, allocations: 155.2 kB / 0.9659 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7582, allocations: 1.312 kB / 0.9659 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002756/0.7584, allocations: 37.84 kB / 0.966 GB, free: 15.5 MB / 0.7325 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.0001581/0.7586, allocations: 111.5 kB / 0.9661 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004979/0.7591, allocations: 183.9 kB / 0.9662 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.7591, allocations: 1.562 kB / 0.9662 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002576/0.7594, allocations: 99.38 kB / 0.9663 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003962/0.7598, allocations: 22.34 kB / 0.9664 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008982/0.7607, allocations: 0.5109 MB / 0.9669 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002747/0.761, allocations: 0.727 MB / 0.9676 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.38e-05/0.7611, allocations: 20.42 kB / 0.9676 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of SimCode: time 3.81e-07/0.7611, allocations: 0 / 0.9676 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of Templates: time 0.004533/0.7656, allocations: 2.204 MB / 0.9697 GB, free: 13.03 MB / 0.7325 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches