Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001179/0.001179, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001156/0.001156, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.346/1.346, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.181/2.181, allocations: 390.2 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 67.89 kB / 0.9515 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7992/0.8006, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002218/0.8028, allocations: 1.329 MB / 1.09 GB, free: 4.578 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.2084/1.011, allocations: 148.1 MB / 1.235 GB, free: 5.305 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.537e-05/1.011, allocations: 0 / 1.235 GB, free: 5.305 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.613e-05/1.011, allocations: 3.984 kB / 1.235 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001217/1.012, allocations: 15.39 kB / 1.235 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001246/1.013, allocations: 326.7 kB / 1.235 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001411/1.013, allocations: 64.89 kB / 1.235 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.828e-05/1.013, allocations: 2.688 kB / 1.235 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.659e-05/1.013, allocations: 31.88 kB / 1.235 GB, free: 5.004 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001087/1.013, allocations: 35.8 kB / 1.235 GB, free: 4.98 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/1.013, allocations: 3.25 kB / 1.235 GB, free: 4.98 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008976/1.014, allocations: 409.2 kB / 1.235 GB, free: 4.758 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.245e-05/1.014, allocations: 21.34 kB / 1.235 GB, free: 4.742 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.364e-05/1.014, allocations: 22.89 kB / 1.235 GB, free: 4.73 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004391/1.015, allocations: 160 kB / 1.236 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/1.015, allocations: 4.953 kB / 1.236 GB, free: 4.648 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.452e-06/1.015, allocations: 0 / 1.236 GB, free: 4.648 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.13e-06/1.015, allocations: 0 / 1.236 GB, free: 4.648 MB / 0.9669 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.0005847/1.015, allocations: 390.5 kB / 1.236 GB, free: 4.25 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/1.015, allocations: 13.62 kB / 1.236 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000587/1.016, allocations: 42.98 kB / 1.236 GB, free: 4.227 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/1.016, allocations: 161.5 kB / 1.236 GB, free: 4.031 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/1.016, allocations: 11.31 kB / 1.236 GB, free: 4.023 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.051e-05/1.016, allocations: 10.09 kB / 1.236 GB, free: 4.02 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000226/1.016, allocations: 81.02 kB / 1.236 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/1.016, allocations: 0 / 1.236 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.087e-05/1.017, allocations: 5.469 kB / 1.236 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/1.017, allocations: 0.9688 kB / 1.236 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001366/1.017, allocations: 54.42 kB / 1.236 GB, free: 3.926 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002692/1.017, allocations: 189.4 kB / 1.236 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002349/1.017, allocations: 87.25 kB / 1.237 GB, free: 3.656 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.677e-05/1.017, allocations: 28.19 kB / 1.237 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002865/1.018, allocations: 180.2 kB / 1.237 GB, free: 3.441 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.545e-05/1.018, allocations: 32.75 kB / 1.237 GB, free: 3.402 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=12): time 1.613e-06/1.018, allocations: 3.938 kB / 1.237 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of matching and sorting (n=19): time 0.001712/1.019, allocations: 0.5489 MB / 1.237 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/1.019, allocations: 53.91 kB / 1.237 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.703e-05/1.019, allocations: 96.77 kB / 1.237 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/1.02, allocations: 31.27 kB / 1.238 GB, free: 2.789 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 2.838e-05/1.02, allocations: 80.52 kB / 1.238 GB, free: 2.707 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.847e-05/1.02, allocations: 71.41 kB / 1.238 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.747e-05/1.02, allocations: 39.39 kB / 1.238 GB, free: 2.613 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001026/1.02, allocations: 321 kB / 1.238 GB, free: 2.293 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.589e-05/1.02, allocations: 36.97 kB / 1.238 GB, free: 2.277 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.978e-05/1.02, allocations: 74.03 kB / 1.238 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/1.02, allocations: 118 kB / 1.238 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/1.02, allocations: 0 / 1.238 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002303/1.02, allocations: 158.4 kB / 1.238 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/1.02, allocations: 12.16 kB / 1.238 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/1.02, allocations: 1.125 kB / 1.238 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/1.02, allocations: 1.125 kB / 1.238 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001695/1.021, allocations: 43.83 kB / 1.238 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/1.021, allocations: 2.438 kB / 1.238 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.016e-05/1.021, allocations: 5.125 kB / 1.238 GB, free: 2.031 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/1.021, allocations: 9.25 kB / 1.238 GB, free: 2.027 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 0.0001039/1.021, allocations: 126.3 kB / 1.239 GB, free: 1.898 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.316e-05/1.021, allocations: 8.969 kB / 1.239 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.301e-05/1.021, allocations: 21.62 kB / 1.239 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/1.021, allocations: 1.375 kB / 1.239 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/1.021, allocations: 5.344 kB / 1.239 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/1.021, allocations: 7.875 kB / 1.239 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001527/1.021, allocations: 188.7 kB / 1.239 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/1.021, allocations: 1.312 kB / 1.239 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001901/1.021, allocations: 42.45 kB / 1.239 GB, free: 1.637 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.65e-06/1.021, allocations: 5.203 kB / 1.239 GB, free: 1.633 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/1.021, allocations: 1.25 kB / 1.239 GB, free: 1.633 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/1.021, allocations: 1.188 kB / 1.239 GB, free: 1.633 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/1.021, allocations: 4 kB / 1.239 GB, free: 1.629 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003071/1.022, allocations: 212.7 kB / 1.239 GB, free: 1.492 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.161e-05/1.022, allocations: 90.91 kB / 1.239 GB, free: 1.391 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.186e-05/1.022, allocations: 5.156 kB / 1.239 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/1.022, allocations: 7.422 kB / 1.239 GB, free: 1.383 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.164e-05/1.022, allocations: 17.52 kB / 1.239 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/1.022, allocations: 8.484 kB / 1.239 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.707e-05/1.022, allocations: 81.56 kB / 1.239 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/1.022, allocations: 0 / 1.239 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002318/1.022, allocations: 29.78 kB / 1.239 GB, free: 1.281 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.0001478/1.022, allocations: 106.5 kB / 1.239 GB, free: 1.184 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000219/1.023, allocations: 108.1 kB / 1.239 GB, free: 1.145 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/1.023, allocations: 0 / 1.239 GB, free: 1.145 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 7.379e-05/1.023, allocations: 58.34 kB / 1.24 GB, free: 1.121 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/1.023, allocations: 18.81 kB / 1.24 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008619/1.024, allocations: 0.5381 MB / 1.24 GB, free: 0.6562 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002912/1.024, allocations: 0.7001 MB / 1.241 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.007e-05/1.024, allocations: 17.06 kB / 1.241 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of SimCode: time 2.81e-07/1.024, allocations: 0 / 1.241 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of Templates: time 0.003392/1.028, allocations: 1.309 MB / 1.242 GB, free: 15.26 MB / 0.9825 GB make -j1 -f Buildings_9_Buildings.Media.Examples.AirDerivativeCheck.makefile (rm -f Buildings_9_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_9_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.AirDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_AirDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.AirDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches