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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.00161/0.00161, 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.001139/0.001139, allocations: 195.9 kB / 16.25 MB, free: 6.629 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.439/1.439, allocations: 222.9 MB / 239.9 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.497/2.497, allocations: 390.2 MB / 0.6643 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 63.91 kB / 0.812 GB, free: 14.83 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8332/0.8345, allocations: 140.4 MB / 0.9491 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003059/0.8376, allocations: 1.959 MB / 0.951 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003359/0.841, allocations: 3.42 MB / 0.9543 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.965e-05/0.8411, allocations: 2.594 kB / 0.9543 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002821/0.8414, allocations: 44.72 kB / 0.9544 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004772/0.8419, allocations: 123.9 kB / 0.9545 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 7.346e-05/0.8419, allocations: 20.09 kB / 0.9545 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002087/0.8422, allocations: 164.8 kB / 0.9547 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.8423, allocations: 35.66 kB / 0.9547 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001747/0.8425, allocations: 75.39 kB / 0.9548 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001418/0.8426, allocations: 87.69 kB / 0.9549 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.784e-05/0.8427, allocations: 8.781 kB / 0.9549 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.788e-05/0.8428, allocations: 27.72 kB / 0.9549 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.376e-05/0.8428, allocations: 38.41 kB / 0.9549 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.151e-05/0.8429, allocations: 77.84 kB / 0.955 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000189/0.8431, allocations: 160.8 kB / 0.9552 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.8431, allocations: 0 / 0.9552 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.044e-06/0.8431, allocations: 1.469 kB / 0.9552 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.689e-06/0.8431, allocations: 0 / 0.9552 GB, free: 4.246 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.0007762/0.8439, allocations: 0.4933 MB / 0.9557 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.844, allocations: 14.34 kB / 0.9557 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.287e-05/0.844, allocations: 16.62 kB / 0.9557 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003044/0.8443, allocations: 244.3 kB / 0.9559 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.328e-06/0.8443, allocations: 5.781 kB / 0.9559 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.129e-05/0.8444, allocations: 4.719 kB / 0.9559 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003291/0.8447, allocations: 140.9 kB / 0.9561 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.8447, allocations: 1.094 kB / 0.9561 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.8447, allocations: 3.984 kB / 0.9561 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.831e-05/0.8448, allocations: 8.125 kB / 0.9561 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004078/0.8452, allocations: 137.4 kB / 0.9562 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006164/0.8458, allocations: 447.7 kB / 0.9566 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003792/0.8462, allocations: 163 kB / 0.9568 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000242/0.8465, allocations: 97.05 kB / 0.9569 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.8465, allocations: 5.203 kB / 0.9569 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/0.8465, allocations: 40.08 kB / 0.9569 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.152e-06/0.8465, allocations: 4 kB / 0.9569 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0007448/0.8473, allocations: 279.4 kB / 0.9572 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.643e-05/0.8473, allocations: 52.84 kB / 0.9572 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001724/0.8475, allocations: 209.4 kB / 0.9574 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.8475, allocations: 33.69 kB / 0.9575 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.809e-05/0.8476, allocations: 119.9 kB / 0.9576 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.61e-05/0.8476, allocations: 37.73 kB / 0.9576 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.61e-05/0.8477, allocations: 30.2 kB / 0.9577 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.745e-05/0.8478, allocations: 332.9 kB / 0.958 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002065/0.848, allocations: 73.22 kB / 0.958 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002006/0.8482, allocations: 74.27 kB / 0.9581 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000385/0.8486, allocations: 159.9 kB / 0.9583 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.8486, allocations: 4 kB / 0.9583 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004683/0.8491, allocations: 210.8 kB / 0.9585 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.8491, allocations: 5.5 kB / 0.9585 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.8491, allocations: 0 / 0.9585 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.8491, allocations: 1.375 kB / 0.9585 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002358/0.8494, allocations: 35.34 kB / 0.9585 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.8494, allocations: 1.375 kB / 0.9585 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001477/0.8495, allocations: 16.17 kB / 0.9585 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.794e-05/0.8496, allocations: 6.734 kB / 0.9585 GB, free: 1.555 MB / 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 0.0001148/0.8497, allocations: 135.3 kB / 0.9587 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.071e-05/0.8497, allocations: 31.94 kB / 0.9587 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.563e-05/0.8498, allocations: 21.97 kB / 0.9587 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.8498, allocations: 6.75 kB / 0.9587 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.8498, allocations: 0 / 0.9587 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.8498, allocations: 0 / 0.9587 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000285/0.8501, allocations: 259.8 kB / 0.959 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.8501, allocations: 0 / 0.959 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002035/0.8504, allocations: 35.48 kB / 0.959 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.8504, allocations: 1.094 kB / 0.959 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/0.8504, allocations: 1 kB / 0.959 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.8504, allocations: 1.156 kB / 0.959 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.8504, allocations: 4 kB / 0.959 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005962/0.851, allocations: 312.6 kB / 0.9593 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 9.37e-05/0.8511, allocations: 114.6 kB / 0.9594 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.732e-05/0.8512, allocations: 5.281 kB / 0.9594 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001745/0.8513, allocations: 15.98 kB / 0.9594 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.94e-05/0.8514, allocations: 11.92 kB / 0.9595 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.8514, allocations: 2.438 kB / 0.9595 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001523/0.8516, allocations: 156 kB / 0.9596 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8516, allocations: 3.938 kB / 0.9596 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000474/0.8521, allocations: 38.31 kB / 0.9596 GB, free: 0.6133 MB / 0.7169 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.0001858/0.8523, allocations: 103.9 kB / 0.9597 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000569/0.8529, allocations: 186.1 kB / 0.9599 GB, free: 456 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.8529, allocations: 0 / 0.9599 GB, free: 456 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002534/0.8531, allocations: 90.83 kB / 0.96 GB, free: 416 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004862/0.8536, allocations: 32.08 kB / 0.96 GB, free: 396 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008886/0.8545, allocations: 469.2 kB / 0.9605 GB, free: 52 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003776/0.8549, allocations: 0.7269 MB / 0.9612 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000186/0.8551, allocations: 46.92 kB / 0.9612 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.755e-05/0.8552, allocations: 18.86 kB / 0.9613 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.8552, allocations: 0 / 0.9613 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of Templates: time 0.005607/0.8608, allocations: 1.607 MB / 0.9628 GB, free: 14.5 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/jenkins/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