Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.hSteSym.|der.hSteCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck") translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.hSteSym.|der.hSteCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 111.3 kB / 15.24 MB, free: 0.6484 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.001687/0.001687, allocations: 201.3 kB / 16.14 MB, free: 6.594 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.488/1.488, allocations: 222.9 MB / 239.8 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.924/2.924, allocations: 461.9 MB / 0.7342 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 65.34 kB / 0.8984 GB, free: 37.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3667/0.368, allocations: 157.4 MB / 1.052 GB, free: 8.859 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002528/0.3706, allocations: 1.387 MB / 1.053 GB, free: 7.457 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1616/0.5323, allocations: 145.8 MB / 1.196 GB, free: 5.094 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.253e-05/0.5324, allocations: 0 / 1.196 GB, free: 5.094 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 5.624e-05/0.5324, allocations: 3.984 kB / 1.196 GB, free: 5.09 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001163/0.5326, allocations: 11.92 kB / 1.196 GB, free: 5.078 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001117/0.5337, allocations: 302.8 kB / 1.196 GB, free: 4.781 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001366/0.5339, allocations: 87.73 kB / 1.196 GB, free: 4.695 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.303e-05/0.5339, allocations: 4 kB / 1.196 GB, free: 4.691 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 5.218e-05/0.534, allocations: 27.86 kB / 1.196 GB, free: 4.664 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.5341, allocations: 39.89 kB / 1.196 GB, free: 4.625 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.337e-05/0.5341, allocations: 4 kB / 1.196 GB, free: 4.621 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009932/0.5351, allocations: 498.7 kB / 1.197 GB, free: 4.133 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 6.507e-05/0.5352, allocations: 15.97 kB / 1.197 GB, free: 4.117 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.954e-05/0.5353, allocations: 27.86 kB / 1.197 GB, free: 4.09 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004177/0.5357, allocations: 183.8 kB / 1.197 GB, free: 3.91 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.5357, allocations: 0 / 1.197 GB, free: 3.91 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.713e-06/0.5357, allocations: 0 / 1.197 GB, free: 3.91 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.5357, allocations: 0 / 1.197 GB, free: 3.91 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005008/0.5362, allocations: 396.9 kB / 1.197 GB, free: 3.477 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/0.5363, allocations: 12.03 kB / 1.197 GB, free: 3.465 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004408/0.5367, allocations: 32.81 kB / 1.197 GB, free: 3.434 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.5369, allocations: 172.3 kB / 1.198 GB, free: 3.227 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.5369, allocations: 7.938 kB / 1.198 GB, free: 3.219 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.799e-05/0.5369, allocations: 15.84 kB / 1.198 GB, free: 3.203 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001976/0.5371, allocations: 73.66 kB / 1.198 GB, free: 3.125 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.5372, allocations: 4 kB / 1.198 GB, free: 3.121 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/0.5372, allocations: 4 kB / 1.198 GB, free: 3.117 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.5372, allocations: 0 / 1.198 GB, free: 3.117 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/0.5373, allocations: 47.95 kB / 1.198 GB, free: 3.07 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002213/0.5375, allocations: 197.5 kB / 1.198 GB, free: 2.828 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001838/0.5377, allocations: 90.62 kB / 1.198 GB, free: 2.73 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.302e-05/0.5378, allocations: 32.84 kB / 1.198 GB, free: 2.695 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002447/0.538, allocations: 174.2 kB / 1.198 GB, free: 2.488 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.5381, allocations: 38.56 kB / 1.198 GB, free: 2.441 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=12): time 1.272e-06/0.5381, allocations: 3.938 kB / 1.198 GB, free: 2.438 MB / 0.9512 GB Notification: Performance of matching and sorting (n=19): time 0.001368/0.5395, allocations: 0.5457 MB / 1.199 GB, free: 1.84 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/0.5395, allocations: 51.41 kB / 1.199 GB, free: 1.777 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.051e-05/0.5396, allocations: 101.8 kB / 1.199 GB, free: 1.668 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.5396, allocations: 29.7 kB / 1.199 GB, free: 1.633 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.141e-05/0.5396, allocations: 80.52 kB / 1.199 GB, free: 1.551 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.369e-05/0.5397, allocations: 70.94 kB / 1.199 GB, free: 1.48 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.592e-05/0.5398, allocations: 45.84 kB / 1.199 GB, free: 1.43 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.69e-05/0.5399, allocations: 314.8 kB / 1.199 GB, free: 1.113 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.099e-05/0.54, allocations: 43.97 kB / 1.199 GB, free: 1.07 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.218e-05/0.54, allocations: 66.45 kB / 1.2 GB, free: 0.9961 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001683/0.5402, allocations: 115.3 kB / 1.2 GB, free: 0.8711 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.5402, allocations: 0 / 1.2 GB, free: 0.8711 MB / 0.9512 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002165/0.5405, allocations: 161.5 kB / 1.2 GB, free: 0.707 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.5405, allocations: 8 kB / 1.2 GB, free: 0.6992 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.5405, allocations: 0 / 1.2 GB, free: 0.6992 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.5405, allocations: 0 / 1.2 GB, free: 0.6992 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001719/0.5407, allocations: 39.92 kB / 1.2 GB, free: 0.6602 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.5407, allocations: 4 kB / 1.2 GB, free: 0.6562 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.067e-05/0.5408, allocations: 7.938 kB / 1.2 GB, free: 0.6484 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.5408, allocations: 4 kB / 1.2 GB, free: 0.6445 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 24 * 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 8.987e-05/0.5409, allocations: 125.8 kB / 1.2 GB, free: 0.5117 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.596e-05/0.5409, allocations: 19.88 kB / 1.2 GB, free: 0.4922 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.429e-05/0.541, allocations: 20.38 kB / 1.2 GB, free: 488 kB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.541, allocations: 4 kB / 1.2 GB, free: 484 kB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.541, allocations: 128 / 1.2 GB, free: 484 kB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.541, allocations: 7.938 kB / 1.2 GB, free: 476 kB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001571/0.5411, allocations: 193.6 kB / 1.2 GB, free: 232 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.5412, allocations: 0 / 1.2 GB, free: 232 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000197/0.5414, allocations: 35.92 kB / 1.2 GB, free: 196 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.5414, allocations: 4 kB / 1.2 GB, free: 192 kB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/0.5414, allocations: 4 kB / 1.2 GB, free: 188 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/0.5414, allocations: 4 kB / 1.2 GB, free: 184 kB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.5414, allocations: 0 / 1.2 GB, free: 184 kB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003273/0.5417, allocations: 206.3 kB / 1.2 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.757e-05/0.5418, allocations: 97.06 kB / 1.201 GB, free: 15.85 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.017e-05/0.5419, allocations: 0 / 1.201 GB, free: 15.85 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.542, allocations: 11.98 kB / 1.201 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.158e-05/0.542, allocations: 15.92 kB / 1.201 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.5421, allocations: 8 kB / 1.201 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.521e-05/0.5421, allocations: 79.28 kB / 1.201 GB, free: 15.73 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5421, allocations: 0 / 1.201 GB, free: 15.73 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002499/0.5424, allocations: 31.94 kB / 1.201 GB, free: 15.7 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * 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 (19): * Single equations (assignments): 19 * 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.0001607/0.5425, allocations: 107.2 kB / 1.201 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002176/0.5428, allocations: 110.1 kB / 1.201 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.5428, allocations: 96 / 1.201 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.111e-05/0.5429, allocations: 67.86 kB / 1.201 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002943/0.5432, allocations: 10.39 kB / 1.201 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000887/0.544, allocations: 0.538 MB / 1.201 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002859/0.5443, allocations: 0.705 MB / 1.202 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.000135/0.5445, allocations: 16.64 kB / 1.202 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.325e-05/0.5445, allocations: 15.44 kB / 1.202 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of SimCode: time 4.5e-07/0.5445, allocations: 0 / 1.202 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of Templates: time 0.003663/0.5482, allocations: 1.075 MB / 1.203 GB, free: 13 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_AirDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches