Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck") translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.863/1.863, allocations: 306.1 MB / 321.4 MB, free: 10.75 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001183/0.001182, allocations: 179.5 kB / 393.1 MB, free: 4.082 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.607/1.607, allocations: 225.7 MB / 0.6743 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007925/0.0007925, allocations: 92.41 kB / 0.7935 GB, free: 40.09 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003425/0.0003426, allocations: 8 kB / 0.9224 GB, free: 8.656 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7764/0.7768, allocations: 121.3 MB / 1.041 GB, free: 58.54 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.001352/0.7782, allocations: 1.051 MB / 1.042 GB, free: 57.83 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.1438/0.922, allocations: 137.1 MB / 1.176 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.86e-05/0.9221, allocations: 0 / 1.176 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.65e-05/0.9222, allocations: 3.938 kB / 1.176 GB, free: 6.652 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001183/0.9223, allocations: 15.44 kB / 1.176 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001074/0.9234, allocations: 302.8 kB / 1.176 GB, free: 6.414 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001243/0.9235, allocations: 83.19 kB / 1.176 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.441e-05/0.9236, allocations: 3.094 kB / 1.176 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.8e-05/0.9237, allocations: 31.02 kB / 1.176 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.9238, allocations: 30.16 kB / 1.176 GB, free: 6.297 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.78e-05/0.9238, allocations: 4 kB / 1.176 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000986/0.9248, allocations: 0.4918 MB / 1.177 GB, free: 5.891 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.919e-05/0.9249, allocations: 19.17 kB / 1.177 GB, free: 5.875 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.897e-05/0.9249, allocations: 53.14 kB / 1.177 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004291/0.9254, allocations: 187.1 kB / 1.177 GB, free: 5.676 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.9254, allocations: 3.938 kB / 1.177 GB, free: 5.672 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.543e-06/0.9254, allocations: 0 / 1.177 GB, free: 5.672 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.9254, allocations: 4 kB / 1.177 GB, free: 5.668 MB / 0.7448 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.0004426/0.9259, allocations: 362.3 kB / 1.177 GB, free: 5.273 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.9259, allocations: 12.03 kB / 1.177 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000409/0.9263, allocations: 42.88 kB / 1.177 GB, free: 5.23 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.9264, allocations: 163.9 kB / 1.178 GB, free: 5.035 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.9265, allocations: 7.938 kB / 1.178 GB, free: 5.027 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.294e-05/0.9265, allocations: 8 kB / 1.178 GB, free: 5.02 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/0.9267, allocations: 79.23 kB / 1.178 GB, free: 4.949 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.9267, allocations: 3.984 kB / 1.178 GB, free: 4.945 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.9267, allocations: 4 kB / 1.178 GB, free: 4.941 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.9267, allocations: 0 / 1.178 GB, free: 4.941 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.438e-05/0.9268, allocations: 52.08 kB / 1.178 GB, free: 4.902 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001972/0.927, allocations: 190.8 kB / 1.178 GB, free: 4.676 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001657/0.9272, allocations: 91.25 kB / 1.178 GB, free: 4.59 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.941e-05/0.9273, allocations: 27.95 kB / 1.178 GB, free: 4.562 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002292/0.9275, allocations: 181.2 kB / 1.178 GB, free: 4.355 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/0.9275, allocations: 42.5 kB / 1.178 GB, free: 4.305 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=12): time 1.182e-06/0.9276, allocations: 0 / 1.178 GB, free: 4.305 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19): time 0.001243/0.9288, allocations: 0.5409 MB / 1.179 GB, free: 3.762 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/0.9288, allocations: 55.41 kB / 1.179 GB, free: 3.695 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.22e-05/0.9289, allocations: 105.1 kB / 1.179 GB, free: 3.586 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.929, allocations: 29.7 kB / 1.179 GB, free: 3.551 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.616e-05/0.929, allocations: 84.52 kB / 1.179 GB, free: 3.465 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 9.4e-05/0.9291, allocations: 69.91 kB / 1.179 GB, free: 3.402 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.777e-06/0.9291, allocations: 4 kB / 1.179 GB, free: 3.398 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.454e-05/0.9292, allocations: 318.8 kB / 1.179 GB, free: 3.078 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.173e-05/0.9293, allocations: 34.84 kB / 1.179 GB, free: 3.051 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.194e-05/0.9294, allocations: 78.34 kB / 1.179 GB, free: 2.969 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/0.9295, allocations: 113.8 kB / 1.18 GB, free: 2.852 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.9295, allocations: 0 / 1.18 GB, free: 2.852 MB / 0.7448 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002143/0.9298, allocations: 159.3 kB / 1.18 GB, free: 2.699 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.9298, allocations: 11.38 kB / 1.18 GB, free: 2.691 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.9298, allocations: 4 kB / 1.18 GB, free: 2.688 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.9298, allocations: 4 kB / 1.18 GB, free: 2.684 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000168/0.93, allocations: 39.17 kB / 1.18 GB, free: 2.648 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.93, allocations: 0 / 1.18 GB, free: 2.648 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.386e-05/0.9301, allocations: 11.94 kB / 1.18 GB, free: 2.637 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.9301, allocations: 4 kB / 1.18 GB, free: 2.633 MB / 0.7448 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.074e-05/0.9302, allocations: 123.4 kB / 1.18 GB, free: 2.504 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.007e-05/0.9302, allocations: 15.28 kB / 1.18 GB, free: 2.492 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.358e-05/0.9303, allocations: 16.44 kB / 1.18 GB, free: 2.477 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.9303, allocations: 0 / 1.18 GB, free: 2.477 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.9303, allocations: 8 kB / 1.18 GB, free: 2.469 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.9303, allocations: 3.938 kB / 1.18 GB, free: 2.465 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001502/0.9304, allocations: 187.1 kB / 1.18 GB, free: 2.246 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.9304, allocations: 4 kB / 1.18 GB, free: 2.242 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000191/0.9306, allocations: 35.28 kB / 1.18 GB, free: 2.211 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.9307, allocations: 128 / 1.18 GB, free: 2.211 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.9307, allocations: 8 kB / 1.18 GB, free: 2.203 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.9307, allocations: 0 / 1.18 GB, free: 2.203 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.9307, allocations: 0 / 1.18 GB, free: 2.203 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002968/0.931, allocations: 219.9 kB / 1.18 GB, free: 1.992 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.165e-05/0.9311, allocations: 88.53 kB / 1.18 GB, free: 1.891 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.163e-05/0.9311, allocations: 8.062 kB / 1.18 GB, free: 1.883 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.9312, allocations: 8 kB / 1.18 GB, free: 1.875 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.7e-05/0.9313, allocations: 14.83 kB / 1.18 GB, free: 1.867 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.9313, allocations: 8 kB / 1.181 GB, free: 1.859 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.262e-05/0.9313, allocations: 79.28 kB / 1.181 GB, free: 1.781 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9313, allocations: 0 / 1.181 GB, free: 1.781 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000203/0.9315, allocations: 28.09 kB / 1.181 GB, free: 1.754 MB / 0.7448 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.0001428/0.9317, allocations: 111.2 kB / 1.181 GB, free: 1.637 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001917/0.9319, allocations: 103.5 kB / 1.181 GB, free: 1.547 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.9319, allocations: 0 / 1.181 GB, free: 1.547 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.077e-05/0.932, allocations: 55.61 kB / 1.181 GB, free: 1.5 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002344/0.9322, allocations: 23.23 kB / 1.181 GB, free: 1.48 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009044/0.9331, allocations: 0.6223 MB / 1.181 GB, free: 0.8984 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002499/0.9334, allocations: 0.6985 MB / 1.182 GB, free: 188 kB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001392/0.9335, allocations: 33.72 kB / 1.182 GB, free: 160 kB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.989e-05/0.9336, allocations: 15.44 kB / 1.182 GB, free: 144 kB / 0.7448 GB Notification: Performance of SimCode: time 3.51e-07/0.9336, allocations: 0 / 1.182 GB, free: 144 kB / 0.7448 GB Notification: Performance of Templates: time 0.004009/0.9376, allocations: 1.074 MB / 1.183 GB, free: 15.54 MB / 0.7605 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 -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1)