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.007594/0.007595, allocations: 101.6 kB / 15.73 MB, free: 6.047 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.001627/0.001627, allocations: 196.3 kB / 16.68 MB, free: 5.969 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.486/1.486, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.385/2.385, allocations: 390.2 MB / 0.6648 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 63.89 kB / 0.9508 GB, free: 7.715 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8169/0.8184, allocations: 140.4 MB / 1.088 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.00238/0.8208, allocations: 1.341 MB / 1.089 GB, free: 4.602 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1939/1.015, allocations: 148.1 MB / 1.234 GB, free: 5.324 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.434e-05/1.015, allocations: 0 / 1.234 GB, free: 5.324 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.475e-05/1.015, allocations: 4.938 kB / 1.234 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001212/1.015, allocations: 18 kB / 1.234 GB, free: 5.305 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001228/1.016, allocations: 327.6 kB / 1.234 GB, free: 5.066 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001434/1.017, allocations: 65.03 kB / 1.234 GB, free: 5.035 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.788e-05/1.017, allocations: 2.156 kB / 1.234 GB, free: 5.035 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.047e-05/1.017, allocations: 28.23 kB / 1.234 GB, free: 5.023 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000118/1.017, allocations: 36.27 kB / 1.234 GB, free: 5 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/1.017, allocations: 7.859 kB / 1.234 GB, free: 4.996 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009777/1.018, allocations: 404.6 kB / 1.235 GB, free: 4.777 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.992e-05/1.018, allocations: 20.36 kB / 1.235 GB, free: 4.762 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.356e-05/1.018, allocations: 27.25 kB / 1.235 GB, free: 4.746 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003647/1.018, allocations: 163.9 kB / 1.235 GB, free: 4.664 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/1.018, allocations: 1.125 kB / 1.235 GB, free: 4.664 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.783e-06/1.018, allocations: 0 / 1.235 GB, free: 4.664 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.054e-05/1.018, allocations: 0 / 1.235 GB, free: 4.664 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.0004892/1.019, allocations: 391.5 kB / 1.235 GB, free: 4.266 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/1.019, allocations: 8.656 kB / 1.235 GB, free: 4.266 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004444/1.019, allocations: 34.09 kB / 1.235 GB, free: 4.254 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/1.019, allocations: 166.7 kB / 1.235 GB, free: 4.055 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/1.019, allocations: 6.406 kB / 1.235 GB, free: 4.051 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.134e-05/1.02, allocations: 17.22 kB / 1.235 GB, free: 4.039 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001885/1.02, allocations: 86.33 kB / 1.236 GB, free: 3.973 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/1.02, allocations: 0 / 1.236 GB, free: 3.973 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/1.02, allocations: 1.125 kB / 1.236 GB, free: 3.973 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/1.02, allocations: 1.156 kB / 1.236 GB, free: 3.973 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.935e-05/1.02, allocations: 46.58 kB / 1.236 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002063/1.02, allocations: 192.7 kB / 1.236 GB, free: 3.73 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001951/1.02, allocations: 88.14 kB / 1.236 GB, free: 3.68 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.071e-05/1.02, allocations: 31.84 kB / 1.236 GB, free: 3.66 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002689/1.021, allocations: 180.7 kB / 1.236 GB, free: 3.461 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/1.021, allocations: 39.62 kB / 1.236 GB, free: 3.414 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=12): time 1.362e-06/1.021, allocations: 1.281 kB / 1.236 GB, free: 3.414 MB / 0.9669 GB Notification: Performance of matching and sorting (n=19): time 0.00147/1.022, allocations: 0.5334 MB / 1.237 GB, free: 3.02 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/1.022, allocations: 62.31 kB / 1.237 GB, free: 2.949 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.863e-05/1.022, allocations: 103.5 kB / 1.237 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/1.022, allocations: 31.98 kB / 1.237 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.253e-05/1.022, allocations: 80.52 kB / 1.237 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.14e-05/1.022, allocations: 63.55 kB / 1.237 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.359e-05/1.023, allocations: 44.3 kB / 1.237 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001126/1.023, allocations: 316.3 kB / 1.237 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.693e-05/1.023, allocations: 40.39 kB / 1.237 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.587e-05/1.023, allocations: 71.61 kB / 1.237 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000167/1.023, allocations: 123.1 kB / 1.238 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-06/1.023, allocations: 0 / 1.238 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002487/1.023, allocations: 149.8 kB / 1.238 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.766e-05/1.023, allocations: 9.609 kB / 1.238 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/1.023, allocations: 1.031 kB / 1.238 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/1.023, allocations: 6.062 kB / 1.238 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001978/1.024, allocations: 38.8 kB / 1.238 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/1.024, allocations: 2.312 kB / 1.238 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.059e-05/1.024, allocations: 9.094 kB / 1.238 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/1.024, allocations: 5.656 kB / 1.238 GB, free: 2.055 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.811e-05/1.024, allocations: 126.3 kB / 1.238 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.656e-05/1.024, allocations: 9.406 kB / 1.238 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.265e-05/1.024, allocations: 16.44 kB / 1.238 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/1.024, allocations: 2.312 kB / 1.238 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/1.024, allocations: 5.094 kB / 1.238 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.635e-06/1.024, allocations: 7.922 kB / 1.238 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001746/1.024, allocations: 197.7 kB / 1.238 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/1.024, allocations: 0 / 1.238 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002013/1.024, allocations: 33.89 kB / 1.238 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/1.024, allocations: 5.062 kB / 1.238 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/1.024, allocations: 10 kB / 1.238 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/1.024, allocations: 1.156 kB / 1.238 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/1.024, allocations: 0 / 1.238 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003706/1.025, allocations: 211.2 kB / 1.238 GB, free: 1.52 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.162e-05/1.025, allocations: 95.06 kB / 1.238 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.681e-05/1.025, allocations: 5.219 kB / 1.238 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/1.025, allocations: 7.406 kB / 1.238 GB, free: 1.406 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.726e-05/1.025, allocations: 13.55 kB / 1.238 GB, free: 1.398 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/1.025, allocations: 8.656 kB / 1.238 GB, free: 1.395 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.125e-05/1.025, allocations: 80.52 kB / 1.239 GB, free: 1.316 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.81e-07/1.025, allocations: 1.25 kB / 1.239 GB, free: 1.316 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002526/1.025, allocations: 29.06 kB / 1.239 GB, free: 1.309 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.0001978/1.026, allocations: 107.1 kB / 1.239 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002758/1.026, allocations: 101.9 kB / 1.239 GB, free: 1.176 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/1.026, allocations: 3.938 kB / 1.239 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.103e-05/1.026, allocations: 60.48 kB / 1.239 GB, free: 1.148 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003255/1.026, allocations: 15.33 kB / 1.239 GB, free: 1.141 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/1.027, allocations: 0.5154 MB / 1.239 GB, free: 0.7148 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003379/1.028, allocations: 0.6975 MB / 1.24 GB, free: 12 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001395/1.028, allocations: 30.3 kB / 1.24 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.893e-05/1.028, allocations: 15.69 kB / 1.24 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of SimCode: time 7.71e-07/1.028, allocations: 0 / 1.24 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of Templates: time 0.00453/1.032, allocations: 1.146 MB / 1.241 GB, free: 15.41 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.AirDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches