Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.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.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heatGain.QRad_flow|heatGain.QCon_flow|heatGain.QLat_flow",fileNamePrefix="Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heatGain.QRad_flow|heatGain.QCon_flow|heatGain.QLat_flow",fileNamePrefix="Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005215/0.005216, allocations: 101.3 kB / 15.73 MB, free: 6.043 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.001197/0.001197, allocations: 194.9 kB / 16.67 MB, free: 5.965 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.183/1.183, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.925/1.925, allocations: 390.2 MB / 0.6648 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001049/0.001049, allocations: 67.89 kB / 0.9508 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6521/0.6532, allocations: 140.4 MB / 1.088 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002114/0.6553, allocations: 1.536 MB / 1.089 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 9.124e-05/0.6554, allocations: 36.64 kB / 1.089 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.056e-05/0.6555, allocations: 1.125 kB / 1.089 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 9.803e-05/0.6556, allocations: 12.16 kB / 1.089 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 2.677e-05/0.6556, allocations: 8.984 kB / 1.089 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 8.915e-05/0.6557, allocations: 25.5 kB / 1.089 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.099e-05/0.6558, allocations: 42.56 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.6559, allocations: 32.62 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.961e-05/0.6559, allocations: 19.94 kB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.249e-05/0.656, allocations: 27.14 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.044e-05/0.656, allocations: 5 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.047e-05/0.656, allocations: 3.875 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.931e-05/0.6561, allocations: 22.06 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.235e-05/0.6561, allocations: 27.89 kB / 1.09 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 8.429e-05/0.6562, allocations: 59.45 kB / 1.09 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.6562, allocations: 4 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.322e-06/0.6562, allocations: 1.094 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.6562, allocations: 3.938 kB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0002587/0.6565, allocations: 365.3 kB / 1.09 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 2.875e-05/0.6565, allocations: 9.438 kB / 1.09 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.882e-05/0.6566, allocations: 5.438 kB / 1.09 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.6567, allocations: 180.9 kB / 1.09 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.6567, allocations: 6.625 kB / 1.09 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/0.6567, allocations: 9.422 kB / 1.09 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/0.6568, allocations: 101.8 kB / 1.09 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.6569, allocations: 1.25 kB / 1.09 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.6569, allocations: 5.156 kB / 1.09 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-06/0.6569, allocations: 1.812 kB / 1.09 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.207e-05/0.6569, allocations: 48.44 kB / 1.09 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003717/0.6573, allocations: 0.6461 MB / 1.091 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.575e-05/0.6574, allocations: 170.2 kB / 1.091 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.218e-05/0.6574, allocations: 84.12 kB / 1.091 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.578e-06/0.6574, allocations: 76.75 kB / 1.091 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.718e-05/0.6574, allocations: 115.2 kB / 1.091 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.6574, allocations: 0 / 1.091 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 5.408e-05/0.6575, allocations: 38.34 kB / 1.092 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.383e-05/0.6575, allocations: 127.8 kB / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.6576, allocations: 163.4 kB / 1.092 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.667e-06/0.6577, allocations: 26.83 kB / 1.092 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.593e-05/0.6577, allocations: 107 kB / 1.092 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.964e-06/0.6577, allocations: 4 kB / 1.092 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.339e-05/0.6577, allocations: 17.89 kB / 1.092 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.652e-05/0.6578, allocations: 316.4 kB / 1.092 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.343e-05/0.6578, allocations: 7.281 kB / 1.092 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.399e-05/0.6578, allocations: 22.59 kB / 1.092 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.847e-05/0.6578, allocations: 29.62 kB / 1.092 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.6578, allocations: 0.6094 kB / 1.092 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.941e-05/0.6579, allocations: 57.12 kB / 1.092 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.6579, allocations: 4.688 kB / 1.092 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.658, allocations: 1.125 kB / 1.092 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.658, allocations: 5.469 kB / 1.092 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.025e-05/0.658, allocations: 12.97 kB / 1.092 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.658, allocations: 1 kB / 1.092 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.142e-05/0.6581, allocations: 10.91 kB / 1.092 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-06/0.6581, allocations: 1.688 kB / 1.092 GB, free: 1.621 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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 5.14e-05/0.6581, allocations: 192.4 kB / 1.093 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.644e-05/0.6582, allocations: 109.8 kB / 1.093 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.61e-05/0.6582, allocations: 118.8 kB / 1.093 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.762e-05/0.6582, allocations: 177.9 kB / 1.093 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-05/0.6583, allocations: 189.7 kB / 1.093 GB, free: 0.8281 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.559e-05/0.6583, allocations: 181.3 kB / 1.093 GB, free: 16.64 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002073/0.6585, allocations: 421.6 kB / 1.094 GB, free: 16.2 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-05/0.6586, allocations: 106.5 kB / 1.094 GB, free: 16.09 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.369e-05/0.6586, allocations: 106.2 kB / 1.094 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.812e-05/0.6587, allocations: 182.8 kB / 1.094 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.403e-05/0.6587, allocations: 189.4 kB / 1.094 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.415e-05/0.6588, allocations: 178.4 kB / 1.094 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-05/0.6588, allocations: 185.8 kB / 1.095 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000107/0.6589, allocations: 312.2 kB / 1.095 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.717e-05/0.659, allocations: 190.1 kB / 1.095 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.492e-05/0.6591, allocations: 187.5 kB / 1.095 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.93e-05/0.6592, allocations: 110.3 kB / 1.095 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.827e-05/0.6592, allocations: 178 kB / 1.096 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.638e-05/0.6593, allocations: 106 kB / 1.096 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 9.291e-05/0.6594, allocations: 134.6 kB / 1.096 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6594, allocations: 0 / 1.096 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002022/0.6596, allocations: 6.531 kB / 1.096 GB, free: 14.02 MB / 0.8731 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 (0): * Single equations (assignments): 0 * 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.000112/0.6597, allocations: 177.4 kB / 1.096 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 5.678e-05/0.6597, allocations: 10.84 kB / 1.096 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.6598, allocations: 0 / 1.096 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.333e-06/0.6598, allocations: 0.8438 kB / 1.096 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003181/0.6601, allocations: 467.4 kB / 1.096 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002704/0.6604, allocations: 222.1 kB / 1.097 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002365/0.6606, allocations: 0.694 MB / 1.097 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.045e-05/0.6606, allocations: 6.766 kB / 1.097 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.655e-05/0.6607, allocations: 10.66 kB / 1.097 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of SimCode: time 3.1e-07/0.6607, allocations: 4 kB / 1.097 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of Templates: time 0.002042/0.6627, allocations: 442.1 kB / 1.098 GB, free: 12.42 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile (rm -f Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & ./Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches