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.0009479/0.0009479, allocations: 99.03 kB / 16.02 MB, free: 76 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.001111/0.00111, allocations: 181.4 kB / 16.92 MB, free: 6.918 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.324/1.324, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.619/2.619, allocations: 462.6 MB / 0.737 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003246/0.0003246, allocations: 8.531 kB / 0.9034 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2812/0.2816, allocations: 159.6 MB / 1.059 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.001447/0.2831, allocations: 1.06 MB / 1.06 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1522/0.4353, allocations: 144.2 MB / 1.201 GB, free: 3.09 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.731e-05/0.4353, allocations: 3.938 kB / 1.201 GB, free: 3.086 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 4.227e-05/0.4354, allocations: 3.984 kB / 1.201 GB, free: 3.082 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001111/0.4355, allocations: 11.92 kB / 1.201 GB, free: 3.07 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009907/0.4365, allocations: 302.8 kB / 1.202 GB, free: 2.773 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001301/0.4367, allocations: 87.73 kB / 1.202 GB, free: 2.688 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.372e-05/0.4367, allocations: 4 kB / 1.202 GB, free: 2.684 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 4.54e-05/0.4368, allocations: 23.92 kB / 1.202 GB, free: 2.66 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 9.872e-05/0.4369, allocations: 39.83 kB / 1.202 GB, free: 2.621 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.4369, allocations: 0 / 1.202 GB, free: 2.621 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009583/0.4378, allocations: 498.7 kB / 1.202 GB, free: 2.133 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 5.715e-05/0.4379, allocations: 19.97 kB / 1.202 GB, free: 2.113 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 6.106e-05/0.438, allocations: 57.56 kB / 1.202 GB, free: 2.051 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002376/0.4382, allocations: 104.1 kB / 1.202 GB, free: 1.949 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.4382, allocations: 4 kB / 1.202 GB, free: 1.945 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.572e-06/0.4382, allocations: 0 / 1.202 GB, free: 1.945 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.179e-06/0.4383, allocations: 0 / 1.202 GB, free: 1.945 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.0004589/0.4387, allocations: 371.4 kB / 1.203 GB, free: 1.535 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.4388, allocations: 11.97 kB / 1.203 GB, free: 1.523 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004289/0.4392, allocations: 40.8 kB / 1.203 GB, free: 1.484 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.4393, allocations: 180.2 kB / 1.203 GB, free: 1.27 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.4394, allocations: 7.938 kB / 1.203 GB, free: 1.262 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.404e-05/0.4394, allocations: 8 kB / 1.203 GB, free: 1.254 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/0.4396, allocations: 73.66 kB / 1.203 GB, free: 1.176 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.4396, allocations: 0 / 1.203 GB, free: 1.176 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.4396, allocations: 0 / 1.203 GB, free: 1.176 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.4396, allocations: 4 kB / 1.203 GB, free: 1.172 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.269e-05/0.4397, allocations: 43.95 kB / 1.203 GB, free: 1.129 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002208/0.44, allocations: 193.5 kB / 1.203 GB, free: 0.8906 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001843/0.4402, allocations: 94.67 kB / 1.203 GB, free: 0.7891 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.737e-05/0.4402, allocations: 32.84 kB / 1.203 GB, free: 0.7539 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002484/0.4405, allocations: 178.2 kB / 1.203 GB, free: 0.543 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.4405, allocations: 42.56 kB / 1.204 GB, free: 0.4922 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=12): time 1.373e-06/0.4405, allocations: 0 / 1.204 GB, free: 0.4922 MB / 0.9512 GB Notification: Performance of matching and sorting (n=19): time 0.001348/0.4419, allocations: 0.5429 MB / 1.204 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.4419, allocations: 59.41 kB / 1.204 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.298e-05/0.442, allocations: 105.7 kB / 1.204 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.1e-05/0.442, allocations: 29.7 kB / 1.204 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 2.785e-05/0.4421, allocations: 80.52 kB / 1.204 GB, free: 15.6 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.137e-05/0.4421, allocations: 70.94 kB / 1.204 GB, free: 15.53 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.553e-05/0.4422, allocations: 25.72 kB / 1.204 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.4423, allocations: 318.8 kB / 1.205 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.621e-05/0.4424, allocations: 35.97 kB / 1.205 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.648e-05/0.4425, allocations: 72.95 kB / 1.205 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/0.4426, allocations: 119.3 kB / 1.205 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.4427, allocations: 0 / 1.205 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002247/0.4429, allocations: 149.5 kB / 1.205 GB, free: 14.78 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.4429, allocations: 4 kB / 1.205 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.486e-05/0.4429, allocations: 4 kB / 1.205 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.443, allocations: 3.938 kB / 1.205 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000163/0.4431, allocations: 43.98 kB / 1.205 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.4431, allocations: 0 / 1.205 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.63e-05/0.4432, allocations: 7.938 kB / 1.205 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.4432, allocations: 8 kB / 1.205 GB, free: 14.71 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 9.249e-05/0.4433, allocations: 121.8 kB / 1.205 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.086e-05/0.4434, allocations: 11.91 kB / 1.205 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.079e-05/0.4434, allocations: 20.42 kB / 1.205 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.4434, allocations: 0 / 1.205 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.4434, allocations: 4 kB / 1.205 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.4434, allocations: 7.938 kB / 1.205 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001743/0.4436, allocations: 189.6 kB / 1.205 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.4436, allocations: 4 kB / 1.205 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001908/0.4438, allocations: 39.92 kB / 1.206 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.4438, allocations: 0 / 1.206 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.4439, allocations: 8.062 kB / 1.206 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.267e-06/0.4439, allocations: 4 kB / 1.206 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4439, allocations: 0 / 1.206 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003039/0.4442, allocations: 214.6 kB / 1.206 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.098e-05/0.4443, allocations: 93 kB / 1.206 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.968e-05/0.4443, allocations: 4.062 kB / 1.206 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/0.4444, allocations: 7.984 kB / 1.206 GB, free: 13.9 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.821e-05/0.4445, allocations: 15.92 kB / 1.206 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.236e-05/0.4445, allocations: 8 kB / 1.206 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.904e-05/0.4446, allocations: 79.22 kB / 1.206 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4446, allocations: 0 / 1.206 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002282/0.4448, allocations: 32.09 kB / 1.206 GB, free: 13.77 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.0001266/0.445, allocations: 103.4 kB / 1.206 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002086/0.4452, allocations: 112 kB / 1.206 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.4452, allocations: 0 / 1.206 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 7.346e-05/0.4453, allocations: 57.23 kB / 1.206 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002354/0.4455, allocations: 22.61 kB / 1.206 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008622/0.4464, allocations: 0.6492 MB / 1.207 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/0.4467, allocations: 0.6972 MB / 1.208 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.063e-05/0.4467, allocations: 15.44 kB / 1.208 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of SimCode: time 2.41e-07/0.4467, allocations: 4 kB / 1.208 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of Templates: time 0.002995/0.4497, allocations: 1.28 MB / 1.209 GB, free: 10.76 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches