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.001196/0.001196, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001247/0.001247, allocations: 195.5 kB / 16.14 MB, free: 6.711 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.212/1.212, allocations: 222.9 MB / 239.8 MB, free: 4.598 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.06/2.06, allocations: 390.2 MB / 0.6642 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001091/0.001091, allocations: 63.91 kB / 0.8118 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4947/0.4958, allocations: 140.4 MB / 0.9489 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.001982/0.4978, allocations: 1.601 MB / 0.9505 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 7.762e-05/0.4979, allocations: 24.66 kB / 0.9505 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.673e-05/0.498, allocations: 3.938 kB / 0.9505 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.361e-05/0.4981, allocations: 13.05 kB / 0.9505 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.756e-05/0.4981, allocations: 13.39 kB / 0.9505 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 7.95e-05/0.4982, allocations: 15.17 kB / 0.9505 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.454e-05/0.4983, allocations: 47.34 kB / 0.9506 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.959e-05/0.4984, allocations: 30.44 kB / 0.9506 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.618e-05/0.4984, allocations: 25.89 kB / 0.9506 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.586e-05/0.4985, allocations: 27.44 kB / 0.9507 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.4985, allocations: 2.656 kB / 0.9507 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.598e-06/0.4985, allocations: 2.625 kB / 0.9507 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.458e-05/0.4985, allocations: 15.3 kB / 0.9507 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.122e-05/0.4986, allocations: 30.05 kB / 0.9507 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.573e-05/0.4986, allocations: 47.5 kB / 0.9508 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.4986, allocations: 0.875 kB / 0.9508 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.22e-07/0.4986, allocations: 0 / 0.9508 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.996e-06/0.4987, allocations: 0 / 0.9508 GB, free: 7.723 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.0002555/0.4989, allocations: 368.8 kB / 0.9511 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.973e-05/0.4989, allocations: 8.656 kB / 0.9511 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.641e-05/0.499, allocations: 12.59 kB / 0.9511 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.825e-05/0.4991, allocations: 185 kB / 0.9513 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.866e-06/0.4991, allocations: 7.188 kB / 0.9513 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.4991, allocations: 9.016 kB / 0.9513 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.4992, allocations: 99.23 kB / 0.9514 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.4993, allocations: 4.188 kB / 0.9514 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.4993, allocations: 13.62 kB / 0.9514 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.4993, allocations: 1.844 kB / 0.9514 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.646e-05/0.4993, allocations: 41.66 kB / 0.9515 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003548/0.4997, allocations: 0.6375 MB / 0.9521 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.45e-05/0.4997, allocations: 170.5 kB / 0.9523 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.241e-05/0.4998, allocations: 88.17 kB / 0.9524 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.694e-06/0.4998, allocations: 75.28 kB / 0.9524 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.618e-05/0.4998, allocations: 111.1 kB / 0.9525 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.4998, allocations: 0 / 0.9525 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 5.18e-05/0.4999, allocations: 39.22 kB / 0.9526 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.325e-05/0.4999, allocations: 130.6 kB / 0.9527 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.5, allocations: 170.6 kB / 0.9529 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.386e-06/0.5, allocations: 25.7 kB / 0.9529 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.397e-05/0.5, allocations: 108 kB / 0.953 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.783e-06/0.5001, allocations: 0 / 0.953 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.304e-05/0.5001, allocations: 17.84 kB / 0.953 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.333e-05/0.5001, allocations: 320.2 kB / 0.9533 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.235e-05/0.5001, allocations: 6.75 kB / 0.9533 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.421e-05/0.5002, allocations: 26.62 kB / 0.9533 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.932e-05/0.5002, allocations: 32.02 kB / 0.9534 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.5002, allocations: 0 / 0.9534 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.67e-05/0.5003, allocations: 54.05 kB / 0.9534 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.877e-06/0.5003, allocations: 5.5 kB / 0.9534 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.5003, allocations: 5.359 kB / 0.9534 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.586e-06/0.5003, allocations: 5.312 kB / 0.9534 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.434e-05/0.5004, allocations: 4.125 kB / 0.9534 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.5004, allocations: 1.375 kB / 0.9534 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.931e-05/0.5004, allocations: 9.281 kB / 0.9534 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.557e-06/0.5004, allocations: 2.844 kB / 0.9534 GB, free: 4.949 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 4.775e-05/0.5005, allocations: 190.2 kB / 0.9536 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.538e-05/0.5005, allocations: 115.9 kB / 0.9537 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.219e-05/0.5005, allocations: 117 kB / 0.9539 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.077e-05/0.5006, allocations: 177.5 kB / 0.954 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.011e-05/0.5006, allocations: 180.2 kB / 0.9542 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.9e-05/0.5006, allocations: 189.8 kB / 0.9544 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001191/0.5007, allocations: 422.7 kB / 0.9548 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.21e-05/0.5007, allocations: 110 kB / 0.9549 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.176e-05/0.5008, allocations: 106.2 kB / 0.955 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.876e-05/0.5008, allocations: 181.5 kB / 0.9552 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.017e-05/0.5008, allocations: 184.2 kB / 0.9553 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.826e-05/0.5008, allocations: 181.2 kB / 0.9555 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.825e-05/0.5009, allocations: 181.9 kB / 0.9557 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.441e-05/0.5009, allocations: 318.1 kB / 0.956 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.254e-05/0.501, allocations: 188.4 kB / 0.9562 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.106e-05/0.501, allocations: 193.4 kB / 0.9563 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.503e-05/0.501, allocations: 102.1 kB / 0.9564 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.237e-05/0.5011, allocations: 181.6 kB / 0.9566 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.5011, allocations: 101 kB / 0.9567 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.829e-05/0.5012, allocations: 127.6 kB / 0.9568 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5012, allocations: 0 / 0.9568 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002012/0.5014, allocations: 6.188 kB / 0.9568 GB, free: 1.324 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 (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 8.226e-05/0.5015, allocations: 184.4 kB / 0.957 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 5.252e-05/0.5015, allocations: 15.38 kB / 0.957 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.5015, allocations: 0 / 0.957 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.72e-07/0.5015, allocations: 0 / 0.957 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002354/0.5018, allocations: 0.5255 MB / 0.9575 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002336/0.502, allocations: 235.4 kB / 0.9578 GB, free: 404 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001701/0.5022, allocations: 0.6972 MB / 0.9584 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.668e-05/0.5022, allocations: 12.3 kB / 0.9585 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.715e-05/0.5022, allocations: 14.09 kB / 0.9585 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of SimCode: time 2.1e-07/0.5022, allocations: 0 / 0.9585 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of Templates: time 0.001895/0.5041, allocations: 408.7 kB / 0.9589 GB, free: 15.46 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