Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002134/0.002134, allocations: 107.4 kB / 18.19 MB, free: 4.141 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003043/0.003043, allocations: 189.9 kB / 21.34 MB, free: 1 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.677/1.677, allocations: 225.6 MB / 249.9 MB, free: 3.238 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.912/2.912, allocations: 476.7 MB / 0.7634 GB, free: 15.21 MB / 0.6075 GB [Timeout remaining time 86] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=500,variableFilter="time|heatGain.QRad_flow|heatGain.QCon_flow|heatGain.QLat_flow",fileNamePrefix="Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|heatGain.QRad_flow|heatGain.QCon_flow|heatGain.QLat_flow",fileNamePrefix="Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 67.91 kB / 1.108 GB, free: 4.805 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.33/1.332, allocations: 168.7 MB / 1.272 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.003165/1.335, allocations: 1.551 MB / 1.274 GB, free: 6.91 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001292/1.335, allocations: 36.05 kB / 1.274 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.53e-05/1.335, allocations: 1.625 kB / 1.274 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001298/1.335, allocations: 12.17 kB / 1.274 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.629e-05/1.335, allocations: 9.547 kB / 1.274 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001187/1.335, allocations: 21.72 kB / 1.274 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001223/1.335, allocations: 46.78 kB / 1.274 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001627/1.336, allocations: 25.31 kB / 1.274 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.15e-05/1.336, allocations: 20.42 kB / 1.274 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.605e-05/1.336, allocations: 33.48 kB / 1.274 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.245e-05/1.336, allocations: 4.281 kB / 1.274 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.664e-05/1.336, allocations: 4.375 kB / 1.274 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.983e-05/1.336, allocations: 26.33 kB / 1.274 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.508e-05/1.336, allocations: 27.33 kB / 1.274 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001368/1.336, allocations: 61.62 kB / 1.274 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/1.336, allocations: 0.6562 kB / 1.274 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.954e-06/1.336, allocations: 0 / 1.274 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.121e-06/1.336, allocations: 0.7812 kB / 1.274 GB, free: 6.75 MB / 0.9981 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.0004166/1.336, allocations: 367.1 kB / 1.275 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/1.336, allocations: 9.875 kB / 1.275 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.634e-05/1.336, allocations: 8.766 kB / 1.275 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/1.337, allocations: 188.7 kB / 1.275 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.856e-06/1.337, allocations: 3.5 kB / 1.275 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.061e-05/1.337, allocations: 8.25 kB / 1.275 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/1.337, allocations: 99.53 kB / 1.275 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/1.337, allocations: 1.062 kB / 1.275 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/1.337, allocations: 8.688 kB / 1.275 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/1.337, allocations: 1.625 kB / 1.275 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.673e-05/1.337, allocations: 45.45 kB / 1.275 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004973/1.337, allocations: 0.6388 MB / 1.276 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.289e-05/1.338, allocations: 167.1 kB / 1.276 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.208e-05/1.338, allocations: 88.08 kB / 1.276 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.275e-05/1.338, allocations: 75.28 kB / 1.276 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/1.338, allocations: 110.9 kB / 1.276 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/1.338, allocations: 0 / 1.276 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 7.407e-05/1.338, allocations: 38.11 kB / 1.276 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/1.338, allocations: 129.9 kB / 1.276 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/1.338, allocations: 170.2 kB / 1.276 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.653e-06/1.338, allocations: 25.7 kB / 1.276 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.411e-05/1.338, allocations: 105.1 kB / 1.276 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.825e-06/1.338, allocations: 0 / 1.276 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.915e-05/1.338, allocations: 13.19 kB / 1.276 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.842e-05/1.338, allocations: 320.3 kB / 1.277 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.604e-05/1.338, allocations: 6.031 kB / 1.277 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.11e-05/1.338, allocations: 27.67 kB / 1.277 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.795e-05/1.338, allocations: 26.23 kB / 1.277 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/1.338, allocations: 0 / 1.277 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001273/1.338, allocations: 60.23 kB / 1.277 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/1.338, allocations: 8.344 kB / 1.277 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/1.338, allocations: 0 / 1.277 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/1.338, allocations: 10.19 kB / 1.277 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.248e-05/1.338, allocations: 9.125 kB / 1.277 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/1.338, allocations: 3.906 kB / 1.277 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.419e-05/1.338, allocations: 10.11 kB / 1.277 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/1.338, allocations: 2.062 kB / 1.277 GB, free: 4.07 MB / 0.9981 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 7.271e-05/1.338, allocations: 189.8 kB / 1.277 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.6e-05/1.339, allocations: 113.8 kB / 1.277 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.395e-05/1.339, allocations: 127.5 kB / 1.277 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.031e-05/1.339, allocations: 181.3 kB / 1.277 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.321e-05/1.339, allocations: 182.5 kB / 1.278 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-05/1.339, allocations: 176.3 kB / 1.278 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000169/1.339, allocations: 423.7 kB / 1.278 GB, free: 2.641 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-05/1.339, allocations: 105.8 kB / 1.278 GB, free: 2.531 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.042e-05/1.339, allocations: 114 kB / 1.278 GB, free: 2.414 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.254e-05/1.339, allocations: 182.1 kB / 1.279 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.376e-05/1.339, allocations: 185.2 kB / 1.279 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001406/1.339, allocations: 178.1 kB / 1.279 GB, free: 17.86 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.738e-05/1.339, allocations: 182.3 kB / 1.279 GB, free: 17.68 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001808/1.339, allocations: 316.4 kB / 1.279 GB, free: 17.36 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/1.339, allocations: 185.5 kB / 1.28 GB, free: 17.15 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.817e-05/1.34, allocations: 191.7 kB / 1.28 GB, free: 16.96 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.982e-05/1.34, allocations: 105.8 kB / 1.28 GB, free: 16.85 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.985e-05/1.34, allocations: 182.8 kB / 1.28 GB, free: 16.67 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-05/1.34, allocations: 106.5 kB / 1.28 GB, free: 16.56 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001165/1.34, allocations: 128.3 kB / 1.28 GB, free: 16.47 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/1.34, allocations: 0 / 1.28 GB, free: 16.47 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002283/1.34, allocations: 6.719 kB / 1.28 GB, free: 16.47 MB / 1.014 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.0001862/1.34, allocations: 177.7 kB / 1.28 GB, free: 16.31 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 8.608e-05/1.34, allocations: 6.312 kB / 1.28 GB, free: 16.31 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.34, allocations: 4.188 kB / 1.28 GB, free: 16.3 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 3.176e-06/1.34, allocations: 4.969 kB / 1.28 GB, free: 16.3 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000416/1.341, allocations: 457.8 kB / 1.281 GB, free: 15.85 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003946/1.341, allocations: 256.2 kB / 1.281 GB, free: 15.62 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003695/1.342, allocations: 0.7022 MB / 1.282 GB, free: 14.91 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.699e-05/1.342, allocations: 10.31 kB / 1.282 GB, free: 14.91 MB / 1.014 GB Notification: Performance of SimCode: time 3.1e-07/1.342, allocations: 0 / 1.282 GB, free: 14.91 MB / 1.014 GB Notification: Performance of Templates: time 0.002616/1.344, allocations: 0.8042 MB / 1.283 GB, free: 14.84 MB / 1.014 GB [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile [Timeout 300] (rm -f Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & ./Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches