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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.00102/0.00102, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.007964/0.007964, allocations: 172.3 kB / 16.26 MB, free: 6.613 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.455/1.455, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.811/2.811, allocations: 462.6 MB / 0.7363 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003235/0.0003233, allocations: 7.844 kB / 0.9027 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3602/0.3605, allocations: 159.6 MB / 1.059 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.00158/0.3622, allocations: 1.048 MB / 1.06 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1634/0.5256, allocations: 144.3 MB / 1.2 GB, free: 3.199 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.315e-05/0.5256, allocations: 0 / 1.2 GB, free: 3.199 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.929e-05/0.5257, allocations: 3.938 kB / 1.2 GB, free: 3.195 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001046/0.5258, allocations: 15.97 kB / 1.201 GB, free: 3.18 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009507/0.5268, allocations: 302.8 kB / 1.201 GB, free: 2.883 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001195/0.5269, allocations: 87.67 kB / 1.201 GB, free: 2.797 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.667e-05/0.5269, allocations: 4 kB / 1.201 GB, free: 2.793 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 4.411e-05/0.527, allocations: 27.97 kB / 1.201 GB, free: 2.766 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.5271, allocations: 39.83 kB / 1.201 GB, free: 2.727 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.301e-05/0.5271, allocations: 4 kB / 1.201 GB, free: 2.723 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009035/0.528, allocations: 498.6 kB / 1.201 GB, free: 2.234 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 5.157e-05/0.5281, allocations: 15.97 kB / 1.201 GB, free: 2.219 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.47e-05/0.5282, allocations: 57.55 kB / 1.202 GB, free: 2.156 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003445/0.5285, allocations: 175.9 kB / 1.202 GB, free: 1.984 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.5285, allocations: 0 / 1.202 GB, free: 1.984 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5285, allocations: 0 / 1.202 GB, free: 1.984 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.5285, allocations: 0 / 1.202 GB, free: 1.984 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.0004102/0.529, allocations: 375.4 kB / 1.202 GB, free: 1.57 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.529, allocations: 11.97 kB / 1.202 GB, free: 1.559 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004266/0.5294, allocations: 44.78 kB / 1.202 GB, free: 1.516 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.847e-05/0.5295, allocations: 172.3 kB / 1.202 GB, free: 1.309 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.5296, allocations: 11.94 kB / 1.202 GB, free: 1.297 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.873e-05/0.5296, allocations: 4 kB / 1.202 GB, free: 1.293 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.5298, allocations: 77.64 kB / 1.202 GB, free: 1.211 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/0.5298, allocations: 4 kB / 1.202 GB, free: 1.207 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.5298, allocations: 4 kB / 1.202 GB, free: 1.203 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.5298, allocations: 4 kB / 1.202 GB, free: 1.199 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.481e-05/0.5299, allocations: 47.89 kB / 1.202 GB, free: 1.152 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001931/0.5301, allocations: 189.4 kB / 1.203 GB, free: 0.918 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001719/0.5303, allocations: 86.69 kB / 1.203 GB, free: 0.8242 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.541e-05/0.5304, allocations: 32.84 kB / 1.203 GB, free: 0.7891 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002201/0.5306, allocations: 178.2 kB / 1.203 GB, free: 0.5781 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.693e-05/0.5306, allocations: 30.56 kB / 1.203 GB, free: 0.5391 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=12): time 2.765e-06/0.5307, allocations: 0 / 1.203 GB, free: 0.5391 MB / 0.9512 GB Notification: Performance of matching and sorting (n=19): time 0.001328/0.532, allocations: 0.5549 MB / 1.203 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/0.532, allocations: 55.41 kB / 1.203 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.645e-05/0.5321, allocations: 101.7 kB / 1.204 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.873e-05/0.5321, allocations: 33.69 kB / 1.204 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 2.959e-05/0.5322, allocations: 80.52 kB / 1.204 GB, free: 15.63 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.036e-05/0.5323, allocations: 75.08 kB / 1.204 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.959e-05/0.5323, allocations: 25.7 kB / 1.204 GB, free: 15.53 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.5324, allocations: 314.8 kB / 1.204 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.124e-05/0.5325, allocations: 39.97 kB / 1.204 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.001e-05/0.5326, allocations: 75.34 kB / 1.204 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001656/0.5328, allocations: 115.3 kB / 1.204 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.5328, allocations: 4 kB / 1.204 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002416/0.533, allocations: 161.5 kB / 1.204 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.533, allocations: 4 kB / 1.204 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.533, allocations: 4 kB / 1.204 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.5331, allocations: 0 / 1.204 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001743/0.5332, allocations: 39.92 kB / 1.205 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.5333, allocations: 0 / 1.205 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.061e-05/0.5333, allocations: 11.94 kB / 1.205 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.5334, allocations: 7.984 kB / 1.205 GB, free: 14.73 MB / 0.9669 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.827e-05/0.5334, allocations: 121.8 kB / 1.205 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.159e-05/0.5335, allocations: 11.91 kB / 1.205 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.197e-05/0.5335, allocations: 16.44 kB / 1.205 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.5335, allocations: 0 / 1.205 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.5336, allocations: 3.938 kB / 1.205 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.5336, allocations: 11.88 kB / 1.205 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001595/0.5337, allocations: 193.6 kB / 1.205 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.5337, allocations: 4 kB / 1.205 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002144/0.534, allocations: 35.97 kB / 1.205 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.534, allocations: 0 / 1.205 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.534, allocations: 12 kB / 1.205 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.534, allocations: 4.125 kB / 1.205 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.534, allocations: 0 / 1.205 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003088/0.5343, allocations: 212.1 kB / 1.205 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.002e-05/0.5344, allocations: 97.06 kB / 1.205 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.5344, allocations: 3.984 kB / 1.205 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.5346, allocations: 8 kB / 1.205 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.712e-05/0.5346, allocations: 11.92 kB / 1.205 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.606e-05/0.5346, allocations: 16 kB / 1.205 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.984e-05/0.5347, allocations: 75.28 kB / 1.205 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5347, allocations: 0 / 1.205 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002844/0.535, allocations: 24 kB / 1.205 GB, free: 13.8 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.0001404/0.5351, allocations: 111.2 kB / 1.205 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002078/0.5354, allocations: 111.9 kB / 1.206 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.5354, allocations: 4 kB / 1.206 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.017e-05/0.5355, allocations: 55.88 kB / 1.206 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002559/0.5357, allocations: 12 kB / 1.206 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008719/0.5366, allocations: 0.6164 MB / 1.206 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002399/0.5369, allocations: 0.6972 MB / 1.207 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001349/0.537, allocations: 28.55 kB / 1.207 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.094e-05/0.537, allocations: 19.44 kB / 1.207 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of SimCode: time 2.61e-07/0.5371, allocations: 0 / 1.207 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of Templates: time 0.003888/0.5409, allocations: 1.061 MB / 1.208 GB, free: 11.02 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