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.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.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.0009502/0.0009506, allocations: 91.22 kB / 15.06 MB, free: 1.094 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.00121/0.00121, allocations: 172.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.528/1.528, allocations: 223.3 MB / 240 MB, free: 5.445 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.644/2.644, allocations: 390.9 MB / 0.666 GB, free: 2.539 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003601/0.0003603, allocations: 8 kB / 0.8154 GB, free: 13.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7262/0.7266, allocations: 142.4 MB / 0.9544 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.001836/0.7285, allocations: 1.236 MB / 0.9556 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001638/0.7287, allocations: 25.05 kB / 0.9557 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.933e-05/0.7288, allocations: 9.156 kB / 0.9557 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001174/0.7289, allocations: 7.938 kB / 0.9557 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.629e-05/0.7289, allocations: 5.328 kB / 0.9557 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001238/0.7291, allocations: 18.97 kB / 0.9557 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001054/0.7292, allocations: 37.7 kB / 0.9557 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001575/0.7294, allocations: 33.36 kB / 0.9558 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.928e-05/0.7294, allocations: 14.97 kB / 0.9558 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.935e-05/0.7295, allocations: 20.06 kB / 0.9558 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.388e-05/0.7296, allocations: 5.219 kB / 0.9558 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.242e-05/0.7296, allocations: 1.438 kB / 0.9558 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.144e-05/0.7296, allocations: 12.88 kB / 0.9558 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.318e-05/0.7297, allocations: 37.86 kB / 0.9559 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.832e-05/0.7298, allocations: 49.94 kB / 0.9559 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.7298, allocations: 0 / 0.9559 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.244e-06/0.7298, allocations: 0 / 0.9559 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.785e-06/0.7298, allocations: 1.281 kB / 0.9559 GB, free: 6.613 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003769/0.7302, allocations: 351.4 kB / 0.9562 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.7302, allocations: 9.281 kB / 0.9563 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.268e-05/0.7303, allocations: 8.469 kB / 0.9563 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001594/0.7304, allocations: 178.9 kB / 0.9564 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.7305, allocations: 6.125 kB / 0.9564 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.719e-05/0.7305, allocations: 8.906 kB / 0.9564 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001885/0.7307, allocations: 100.2 kB / 0.9565 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.7307, allocations: 0 / 0.9565 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.7307, allocations: 5.078 kB / 0.9565 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.7307, allocations: 1.125 kB / 0.9565 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.91e-05/0.7308, allocations: 42.39 kB / 0.9566 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000514/0.7314, allocations: 0.6373 MB / 0.9572 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.879e-05/0.7314, allocations: 178.5 kB / 0.9574 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.826e-05/0.7314, allocations: 80.14 kB / 0.9575 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.277e-05/0.7315, allocations: 76.72 kB / 0.9575 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.7315, allocations: 113.8 kB / 0.9576 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.202e-06/0.7315, allocations: 0 / 0.9576 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.511e-05/0.7316, allocations: 34.33 kB / 0.9577 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/0.7316, allocations: 130.7 kB / 0.9578 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/0.7318, allocations: 175.7 kB / 0.958 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.965e-06/0.7318, allocations: 26.98 kB / 0.958 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.459e-05/0.7319, allocations: 107.9 kB / 0.9581 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.986e-06/0.7319, allocations: 0 / 0.9581 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-06/0.7319, allocations: 1.438 kB / 0.9581 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.352e-05/0.732, allocations: 320.2 kB / 0.9584 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.584e-05/0.732, allocations: 6.688 kB / 0.9584 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.061e-05/0.732, allocations: 30.44 kB / 0.9584 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.7e-05/0.732, allocations: 11.97 kB / 0.9584 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.732, allocations: 0 / 0.9584 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001285/0.7322, allocations: 57.31 kB / 0.9585 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.7322, allocations: 5.656 kB / 0.9585 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.7322, allocations: 1.344 kB / 0.9585 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.7322, allocations: 1.312 kB / 0.9585 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.34e-05/0.7323, allocations: 8.688 kB / 0.9585 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-06/0.7323, allocations: 1.094 kB / 0.9585 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.794e-05/0.7323, allocations: 6.25 kB / 0.9585 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.7324, allocations: 5.234 kB / 0.9585 GB, free: 3.91 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.508e-05/0.7324, allocations: 195.5 kB / 0.9587 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.608e-05/0.7325, allocations: 113.6 kB / 0.9588 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.341e-05/0.7325, allocations: 120.2 kB / 0.9589 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-05/0.7326, allocations: 182.8 kB / 0.9591 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.898e-05/0.7326, allocations: 180.2 kB / 0.9593 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.499e-05/0.7326, allocations: 177.6 kB / 0.9595 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001588/0.7328, allocations: 430.9 kB / 0.9599 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.647e-05/0.7328, allocations: 102.4 kB / 0.96 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.534e-05/0.7328, allocations: 105 kB / 0.9601 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.823e-05/0.7329, allocations: 185.7 kB / 0.9602 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.817e-05/0.7329, allocations: 177.1 kB / 0.9604 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.81e-05/0.7329, allocations: 185.6 kB / 0.9606 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.761e-05/0.733, allocations: 181.6 kB / 0.9608 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.067e-05/0.733, allocations: 325.7 kB / 0.9611 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.466e-05/0.7331, allocations: 188.3 kB / 0.9613 GB, free: 0.9688 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.108e-05/0.7331, allocations: 181.7 kB / 0.9614 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.62e-05/0.7332, allocations: 106.5 kB / 0.9615 GB, free: 0.6758 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.302e-05/0.7332, allocations: 180.2 kB / 0.9617 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-05/0.7333, allocations: 114.3 kB / 0.9618 GB, free: 384 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.341e-05/0.7334, allocations: 127.1 kB / 0.9619 GB, free: 284 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7334, allocations: 0 / 0.9619 GB, free: 284 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002474/0.7336, allocations: 6.062 kB / 0.9619 GB, free: 284 kB / 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001105/0.7337, allocations: 176.1 kB / 0.9621 GB, free: 116 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.024e-05/0.7338, allocations: 8.969 kB / 0.9621 GB, free: 112 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.7338, allocations: 2.062 kB / 0.9621 GB, free: 112 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.603e-06/0.7338, allocations: 4 kB / 0.9621 GB, free: 108 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003925/0.7342, allocations: 0.5243 MB / 0.9626 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003819/0.7346, allocations: 245.8 kB / 0.9629 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002641/0.7349, allocations: 0.69 MB / 0.9635 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.262e-05/0.7349, allocations: 7.172 kB / 0.9635 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.119e-05/0.7349, allocations: 14.25 kB / 0.9636 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of SimCode: time 2e-07/0.7349, allocations: 0 / 0.9636 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of Templates: time 0.002252/0.7372, allocations: 399.8 kB / 0.9639 GB, free: 14.41 MB / 0.7325 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