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.00611/0.00611, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001228/0.001228, allocations: 197.5 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.369/1.369, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.311/2.311, allocations: 390.2 MB / 0.6648 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001245, allocations: 59.91 kB / 0.9508 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.833/0.8342, allocations: 140.4 MB / 1.088 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.001963/0.8362, allocations: 1.347 MB / 1.089 GB, free: 4.582 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1797/1.016, allocations: 148.1 MB / 1.234 GB, free: 5.305 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.143e-05/1.016, allocations: 0 / 1.234 GB, free: 5.305 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.672e-05/1.016, allocations: 7.875 kB / 1.234 GB, free: 5.297 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001282/1.016, allocations: 14.61 kB / 1.234 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001101/1.017, allocations: 335.8 kB / 1.234 GB, free: 5.043 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001151/1.018, allocations: 64.39 kB / 1.234 GB, free: 5.012 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.535e-05/1.018, allocations: 7.344 kB / 1.234 GB, free: 5.008 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.279e-05/1.018, allocations: 31.38 kB / 1.234 GB, free: 4.992 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001181/1.018, allocations: 32.2 kB / 1.234 GB, free: 4.973 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/1.018, allocations: 2.469 kB / 1.234 GB, free: 4.973 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008406/1.019, allocations: 411.1 kB / 1.235 GB, free: 4.75 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.846e-05/1.019, allocations: 20.38 kB / 1.235 GB, free: 4.734 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.578e-05/1.019, allocations: 23.73 kB / 1.235 GB, free: 4.723 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003345/1.019, allocations: 166.9 kB / 1.235 GB, free: 4.641 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/1.019, allocations: 3.938 kB / 1.235 GB, free: 4.637 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.312e-06/1.019, allocations: 0 / 1.235 GB, free: 4.637 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.035e-05/1.019, allocations: 0.9375 kB / 1.235 GB, free: 4.637 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.0005049/1.02, allocations: 389.8 kB / 1.235 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/1.02, allocations: 10.38 kB / 1.235 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004275/1.02, allocations: 33.5 kB / 1.235 GB, free: 4.227 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/1.02, allocations: 178.4 kB / 1.235 GB, free: 4.016 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/1.02, allocations: 6.031 kB / 1.235 GB, free: 4.012 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.263e-05/1.02, allocations: 10.34 kB / 1.235 GB, free: 4.008 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/1.021, allocations: 77.28 kB / 1.236 GB, free: 3.949 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/1.021, allocations: 0 / 1.236 GB, free: 3.949 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/1.021, allocations: 5.25 kB / 1.236 GB, free: 3.945 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/1.021, allocations: 2.625 kB / 1.236 GB, free: 3.945 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.983e-05/1.021, allocations: 45.52 kB / 1.236 GB, free: 3.926 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001977/1.021, allocations: 192 kB / 1.236 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/1.021, allocations: 92.16 kB / 1.236 GB, free: 3.648 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.365e-05/1.021, allocations: 32.66 kB / 1.236 GB, free: 3.629 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002366/1.021, allocations: 176 kB / 1.236 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/1.021, allocations: 36.69 kB / 1.236 GB, free: 3.391 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=12): time 1.192e-06/1.021, allocations: 4 kB / 1.236 GB, free: 3.387 MB / 0.9669 GB Notification: Performance of matching and sorting (n=19): time 0.001331/1.023, allocations: 0.5455 MB / 1.237 GB, free: 2.98 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.694e-05/1.023, allocations: 58.34 kB / 1.237 GB, free: 2.914 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.53e-05/1.023, allocations: 99.36 kB / 1.237 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/1.023, allocations: 31.73 kB / 1.237 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.175e-05/1.023, allocations: 82.23 kB / 1.237 GB, free: 2.691 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.573e-05/1.023, allocations: 74 kB / 1.237 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.519e-05/1.023, allocations: 36.19 kB / 1.237 GB, free: 2.598 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001241/1.023, allocations: 321 kB / 1.237 GB, free: 2.277 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.241e-05/1.023, allocations: 40.53 kB / 1.237 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.843e-05/1.023, allocations: 75.33 kB / 1.237 GB, free: 2.199 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000168/1.024, allocations: 126.1 kB / 1.238 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/1.024, allocations: 1.219 kB / 1.238 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002394/1.024, allocations: 153.5 kB / 1.238 GB, free: 2.027 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/1.024, allocations: 4.844 kB / 1.238 GB, free: 2.027 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/1.024, allocations: 1.281 kB / 1.238 GB, free: 2.027 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/1.024, allocations: 2.5 kB / 1.238 GB, free: 2.027 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001839/1.024, allocations: 43.42 kB / 1.238 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/1.024, allocations: 6.125 kB / 1.238 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.77e-05/1.024, allocations: 4.906 kB / 1.238 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/1.024, allocations: 9.531 kB / 1.238 GB, free: 2.004 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.734e-05/1.024, allocations: 118.4 kB / 1.238 GB, free: 1.883 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.366e-05/1.024, allocations: 12.88 kB / 1.238 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.399e-05/1.024, allocations: 17.66 kB / 1.238 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/1.024, allocations: 2.344 kB / 1.238 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/1.024, allocations: 0 / 1.238 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/1.024, allocations: 3.938 kB / 1.238 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001574/1.025, allocations: 197.5 kB / 1.238 GB, free: 1.633 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/1.025, allocations: 0 / 1.238 GB, free: 1.633 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002015/1.025, allocations: 35.45 kB / 1.238 GB, free: 1.629 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/1.025, allocations: 1.219 kB / 1.238 GB, free: 1.629 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/1.025, allocations: 9.375 kB / 1.238 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/1.025, allocations: 0 / 1.238 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.025, allocations: 5.203 kB / 1.238 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003279/1.025, allocations: 214.3 kB / 1.238 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.457e-05/1.025, allocations: 94.89 kB / 1.238 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.162e-05/1.025, allocations: 6.469 kB / 1.238 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/1.025, allocations: 7.422 kB / 1.238 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.752e-05/1.025, allocations: 16.52 kB / 1.238 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/1.025, allocations: 4.469 kB / 1.238 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.336e-05/1.026, allocations: 77.5 kB / 1.239 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/1.026, allocations: 0 / 1.239 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002373/1.026, allocations: 29.91 kB / 1.239 GB, free: 1.27 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.0001489/1.026, allocations: 110.5 kB / 1.239 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002233/1.026, allocations: 103.8 kB / 1.239 GB, free: 1.133 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.026, allocations: 5.312 kB / 1.239 GB, free: 1.129 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.566e-05/1.026, allocations: 56.86 kB / 1.239 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/1.027, allocations: 14.88 kB / 1.239 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008415/1.027, allocations: 0.503 MB / 1.239 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002993/1.028, allocations: 0.7014 MB / 1.24 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.000106/1.028, allocations: 25.92 kB / 1.24 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.23e-05/1.028, allocations: 15.16 kB / 1.24 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of SimCode: time 2.11e-07/1.028, allocations: 0 / 1.24 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of Templates: time 0.003884/1.032, allocations: 1.135 MB / 1.241 GB, free: 15.38 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