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.001233/0.001233, allocations: 92.23 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.001611/0.001611, allocations: 182.7 kB / 16.92 MB, free: 6.926 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.6/1.6, allocations: 223.3 MB / 241 MB, free: 5.352 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.511/2.511, allocations: 390.9 MB / 0.667 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003676/0.0003679, allocations: 8 kB / 0.8166 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8387/0.8391, allocations: 142.4 MB / 0.9557 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.001589/0.8407, allocations: 1.259 MB / 0.9569 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001075/0.8408, allocations: 28.69 kB / 0.957 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.777e-05/0.8409, allocations: 1.031 kB / 0.957 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001118/0.841, allocations: 4.969 kB / 0.957 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.446e-05/0.8411, allocations: 9.016 kB / 0.957 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001032/0.8412, allocations: 19.89 kB / 0.957 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.672e-05/0.8413, allocations: 38.28 kB / 0.957 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/0.8414, allocations: 43.39 kB / 0.9571 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.264e-05/0.8414, allocations: 14.09 kB / 0.9571 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.93e-05/0.8415, allocations: 18.48 kB / 0.9571 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.8415, allocations: 2.375 kB / 0.9571 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.317e-06/0.8415, allocations: 1.188 kB / 0.9571 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.29e-05/0.8416, allocations: 21.58 kB / 0.9571 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.005e-05/0.8416, allocations: 50.53 kB / 0.9572 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.394e-05/0.8417, allocations: 34.5 kB / 0.9572 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.8417, allocations: 1.031 kB / 0.9572 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.784e-06/0.8417, allocations: 0 / 0.9572 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.8417, allocations: 0 / 0.9572 GB, free: 6.508 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.0002925/0.842, allocations: 354.2 kB / 0.9575 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.8421, allocations: 9.125 kB / 0.9576 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.474e-05/0.8421, allocations: 8.875 kB / 0.9576 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.8423, allocations: 193.3 kB / 0.9577 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.8423, allocations: 3.25 kB / 0.9578 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.8423, allocations: 8.312 kB / 0.9578 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.8425, allocations: 103 kB / 0.9579 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.8425, allocations: 192 / 0.9579 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.8425, allocations: 8.906 kB / 0.9579 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.291e-06/0.8425, allocations: 2.094 kB / 0.9579 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.677e-05/0.8426, allocations: 43 kB / 0.9579 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004466/0.8431, allocations: 0.6414 MB / 0.9585 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.651e-05/0.8431, allocations: 170.3 kB / 0.9587 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.89e-05/0.8431, allocations: 80.14 kB / 0.9588 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/0.8432, allocations: 79.31 kB / 0.9589 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.034e-05/0.8432, allocations: 114.8 kB / 0.959 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.8432, allocations: 1.031 kB / 0.959 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.316e-05/0.8433, allocations: 37.02 kB / 0.959 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/0.8433, allocations: 130.7 kB / 0.9591 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.8435, allocations: 174.2 kB / 0.9593 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.959e-06/0.8435, allocations: 25.7 kB / 0.9593 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.973e-05/0.8435, allocations: 106.1 kB / 0.9594 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.515e-06/0.8435, allocations: 0 / 0.9594 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.053e-05/0.8436, allocations: 14.81 kB / 0.9594 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.104e-05/0.8436, allocations: 317.3 kB / 0.9597 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.318e-05/0.8436, allocations: 6.156 kB / 0.9597 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.772e-05/0.8437, allocations: 22.86 kB / 0.9598 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.65e-05/0.8437, allocations: 32.12 kB / 0.9598 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.8437, allocations: 1.188 kB / 0.9598 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001205/0.8438, allocations: 57.42 kB / 0.9598 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.8439, allocations: 10.22 kB / 0.9599 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.8439, allocations: 1.031 kB / 0.9599 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.8439, allocations: 5.094 kB / 0.9599 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.482e-05/0.8439, allocations: 8.172 kB / 0.9599 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.78e-06/0.844, allocations: 4.781 kB / 0.9599 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.286e-05/0.844, allocations: 7.531 kB / 0.9599 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.844, allocations: 1.219 kB / 0.9599 GB, free: 3.742 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.272e-05/0.8441, allocations: 190.1 kB / 0.9601 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.972e-05/0.8441, allocations: 112.3 kB / 0.9602 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.116e-05/0.8442, allocations: 125.8 kB / 0.9603 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.441e-05/0.8442, allocations: 176.3 kB / 0.9605 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.473e-05/0.8442, allocations: 181.2 kB / 0.9606 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.377e-05/0.8442, allocations: 185.3 kB / 0.9608 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001423/0.8444, allocations: 419 kB / 0.9612 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.908e-05/0.8444, allocations: 110 kB / 0.9613 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.703e-05/0.8444, allocations: 105 kB / 0.9614 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-05/0.8445, allocations: 178.5 kB / 0.9616 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.64e-05/0.8445, allocations: 184.1 kB / 0.9618 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.422e-05/0.8445, allocations: 177.4 kB / 0.9619 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.588e-05/0.8446, allocations: 189.5 kB / 0.9621 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.674e-05/0.8446, allocations: 314.2 kB / 0.9624 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.973e-05/0.8447, allocations: 196.1 kB / 0.9626 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.754e-05/0.8447, allocations: 186.5 kB / 0.9628 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.914e-05/0.8448, allocations: 108.9 kB / 0.9629 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.276e-05/0.8448, allocations: 181.3 kB / 0.963 GB, free: 328 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/0.8448, allocations: 102.2 kB / 0.9631 GB, free: 220 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.985e-05/0.8449, allocations: 126.9 kB / 0.9633 GB, free: 120 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8449, allocations: 3.938 kB / 0.9633 GB, free: 116 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000215/0.8451, allocations: 6.25 kB / 0.9633 GB, free: 116 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 (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.0001316/0.8453, allocations: 175.7 kB / 0.9634 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 6.748e-05/0.8454, allocations: 18.83 kB / 0.9635 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.8454, allocations: 3.938 kB / 0.9635 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.8454, allocations: 0 / 0.9635 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003947/0.8458, allocations: 0.5258 MB / 0.964 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00037/0.8462, allocations: 274.4 kB / 0.9642 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002893/0.8465, allocations: 0.6926 MB / 0.9649 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.144e-05/0.8465, allocations: 11.34 kB / 0.9649 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of SimCode: time 3.01e-07/0.8465, allocations: 0 / 0.9649 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of Templates: time 0.002137/0.8486, allocations: 0.7849 MB / 0.9657 GB, free: 14.03 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/jenkins1/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