Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.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_10_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_10_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.001139/0.00114, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.00126/0.00126, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 223.3 MB / 240 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.714/2.714, allocations: 437.7 MB / 0.7117 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0006638/0.0006643, allocations: 8 kB / 0.8722 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7917/0.7924, allocations: 153.8 MB / 1.022 GB, free: 48 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.001268/0.7937, allocations: 1.042 MB / 1.023 GB, free: 15 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.161/0.9547, allocations: 134.5 MB / 1.155 GB, free: 8.133 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.139e-05/0.9548, allocations: 0 / 1.155 GB, free: 8.133 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 3.628e-05/0.9548, allocations: 3.938 kB / 1.155 GB, free: 8.129 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0001006/0.955, allocations: 11.91 kB / 1.155 GB, free: 8.117 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007612/0.9557, allocations: 231 kB / 1.155 GB, free: 7.891 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001119/0.9558, allocations: 67.81 kB / 1.155 GB, free: 7.824 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 6.022e-05/0.9559, allocations: 3.984 kB / 1.155 GB, free: 7.82 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 4.933e-05/0.956, allocations: 31.86 kB / 1.155 GB, free: 7.789 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.9561, allocations: 31.89 kB / 1.155 GB, free: 7.758 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.43e-05/0.9561, allocations: 4 kB / 1.155 GB, free: 7.754 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006377/0.9567, allocations: 255.3 kB / 1.155 GB, free: 7.504 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 4.77e-05/0.9568, allocations: 15.97 kB / 1.155 GB, free: 7.488 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.525e-05/0.9569, allocations: 41.64 kB / 1.155 GB, free: 7.441 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.000186/0.957, allocations: 97.8 kB / 1.155 GB, free: 7.348 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.9571, allocations: 0 / 1.155 GB, free: 7.348 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.834e-06/0.9571, allocations: 0 / 1.155 GB, free: 7.348 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.727e-06/0.9571, allocations: 0 / 1.155 GB, free: 7.348 MB / 0.9044 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.0004263/0.9575, allocations: 375.1 kB / 1.156 GB, free: 6.934 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.9576, allocations: 12.56 kB / 1.156 GB, free: 6.922 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004081/0.958, allocations: 43.84 kB / 1.156 GB, free: 6.879 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001063/0.9581, allocations: 167 kB / 1.156 GB, free: 6.676 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.9581, allocations: 4 kB / 1.156 GB, free: 6.672 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.119e-05/0.9581, allocations: 8 kB / 1.156 GB, free: 6.664 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.9583, allocations: 81.58 kB / 1.156 GB, free: 6.578 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.9583, allocations: 0 / 1.156 GB, free: 6.578 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.9584, allocations: 0 / 1.156 GB, free: 6.578 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.9584, allocations: 4 kB / 1.156 GB, free: 6.574 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.938e-05/0.9585, allocations: 47.95 kB / 1.156 GB, free: 6.527 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002066/0.9587, allocations: 185.5 kB / 1.156 GB, free: 6.297 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001779/0.9589, allocations: 98.52 kB / 1.156 GB, free: 6.191 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.267e-05/0.9589, allocations: 33.17 kB / 1.156 GB, free: 6.156 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002466/0.9592, allocations: 182.1 kB / 1.157 GB, free: 5.941 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.9592, allocations: 38.55 kB / 1.157 GB, free: 5.895 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=12): time 1.483e-06/0.9592, allocations: 0 / 1.157 GB, free: 5.895 MB / 0.9044 GB Notification: Performance of matching and sorting (n=19): time 0.001285/0.9605, allocations: 0.5423 MB / 1.157 GB, free: 5.301 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.9606, allocations: 59.34 kB / 1.157 GB, free: 5.23 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.376e-05/0.9606, allocations: 101.8 kB / 1.157 GB, free: 5.121 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.9607, allocations: 29.7 kB / 1.157 GB, free: 5.086 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 2.62e-05/0.9607, allocations: 80.52 kB / 1.157 GB, free: 5.004 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.608e-05/0.9608, allocations: 63.02 kB / 1.158 GB, free: 4.941 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.656e-06/0.9608, allocations: 4 kB / 1.158 GB, free: 4.938 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.9609, allocations: 327 kB / 1.158 GB, free: 4.609 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.289e-05/0.961, allocations: 31.98 kB / 1.158 GB, free: 4.578 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.454e-05/0.9611, allocations: 73.03 kB / 1.158 GB, free: 4.496 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.113e-05/0.9611, allocations: 51.97 kB / 1.158 GB, free: 4.445 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.9611, allocations: 3.953 kB / 1.158 GB, free: 4.441 MB / 0.9044 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002143/0.9614, allocations: 149.4 kB / 1.158 GB, free: 4.289 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.9614, allocations: 8 kB / 1.158 GB, free: 4.281 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.9614, allocations: 0 / 1.158 GB, free: 4.281 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.9614, allocations: 8 kB / 1.158 GB, free: 4.273 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001645/0.9616, allocations: 35.98 kB / 1.158 GB, free: 4.238 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.9616, allocations: 4 kB / 1.158 GB, free: 4.234 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.828e-05/0.9617, allocations: 0 / 1.158 GB, free: 4.234 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.9617, allocations: 12 kB / 1.158 GB, free: 4.223 MB / 0.9044 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.916e-05/0.9618, allocations: 117.8 kB / 1.158 GB, free: 4.098 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.05e-05/0.9618, allocations: 15.86 kB / 1.158 GB, free: 4.082 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.336e-05/0.9619, allocations: 12.44 kB / 1.158 GB, free: 4.07 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.9619, allocations: 8 kB / 1.158 GB, free: 4.062 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.842e-06/0.9619, allocations: 3.984 kB / 1.158 GB, free: 4.059 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.9619, allocations: 0 / 1.158 GB, free: 4.059 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001555/0.962, allocations: 193.6 kB / 1.159 GB, free: 3.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.9621, allocations: 7.938 kB / 1.159 GB, free: 3.812 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000192/0.9623, allocations: 39.92 kB / 1.159 GB, free: 3.773 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.9623, allocations: 0 / 1.159 GB, free: 3.773 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.9623, allocations: 4 kB / 1.159 GB, free: 3.77 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.9623, allocations: 4 kB / 1.159 GB, free: 3.766 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.9623, allocations: 0 / 1.159 GB, free: 3.766 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002929/0.9626, allocations: 211 kB / 1.159 GB, free: 3.543 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.509e-05/0.9627, allocations: 96.95 kB / 1.159 GB, free: 3.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/0.9627, allocations: 8.062 kB / 1.159 GB, free: 3.422 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.9628, allocations: 4 kB / 1.159 GB, free: 3.418 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.331e-05/0.9629, allocations: 19.86 kB / 1.159 GB, free: 3.398 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.431e-05/0.9629, allocations: 11.98 kB / 1.159 GB, free: 3.387 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.116e-05/0.9629, allocations: 75.28 kB / 1.159 GB, free: 3.312 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9629, allocations: 96 / 1.159 GB, free: 3.312 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002291/0.9632, allocations: 32 kB / 1.159 GB, free: 3.281 MB / 0.9044 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001597/0.9633, allocations: 111.2 kB / 1.159 GB, free: 3.164 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002059/0.9635, allocations: 108 kB / 1.159 GB, free: 3.059 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.9636, allocations: 4 kB / 1.159 GB, free: 3.055 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 7.307e-05/0.9636, allocations: 47.92 kB / 1.159 GB, free: 3.008 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002604/0.9639, allocations: 23.98 kB / 1.159 GB, free: 2.984 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009/0.9648, allocations: 0.6045 MB / 1.16 GB, free: 2.352 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002813/0.9651, allocations: 0.7011 MB / 1.161 GB, free: 1.625 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001264/0.9652, allocations: 20.64 kB / 1.161 GB, free: 1.605 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.168e-05/0.9653, allocations: 15.44 kB / 1.161 GB, free: 1.59 MB / 0.9044 GB Notification: Performance of SimCode: time 4.31e-07/0.9653, allocations: 0 / 1.161 GB, free: 1.59 MB / 0.9044 GB Notification: Performance of Templates: time 0.003515/0.9688, allocations: 1.015 MB / 1.162 GB, free: 0.5781 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.makefile (rm -f Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_10_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.AirDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_AirDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches