Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Examples.AirDerivativeCheck.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Media.Examples.AirDerivativeCheck") translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.367/2.367, allocations: 254.9 MB / 269.9 MB, free: 9.645 MB / 218.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.001447/0.001447, allocations: 195.9 kB / 329.5 MB, free: 1.172 MB / 250.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 2.473/2.473, allocations: 225.6 MB / 0.6001 GB, free: 2.242 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009204/0.0009198, allocations: 91.67 kB / 0.7074 GB, free: 8.008 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0005029/0.0005032, allocations: 14.84 kB / 0.8242 GB, free: 124.4 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.2229, allocations: 109.1 MB / 0.9307 GB, free: 25.15 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.00145/0.2244, allocations: 1.048 MB / 0.9318 GB, free: 24.09 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.8894/1.114, allocations: 134.5 MB / 1.063 GB, free: 1.691 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.835e-05/1.114, allocations: 1.375 kB / 1.063 GB, free: 1.691 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 4.503e-05/1.114, allocations: 1.969 kB / 1.063 GB, free: 1.691 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.0001063/1.114, allocations: 13.41 kB / 1.063 GB, free: 1.688 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.001051/1.115, allocations: 224.3 kB / 1.063 GB, free: 1.633 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.00013/1.115, allocations: 72.45 kB / 1.063 GB, free: 1.621 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 3.867e-05/1.115, allocations: 6.938 kB / 1.063 GB, free: 1.621 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 5.466e-05/1.115, allocations: 26.27 kB / 1.063 GB, free: 1.617 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/1.116, allocations: 40 kB / 1.063 GB, free: 1.609 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/1.116, allocations: 4.125 kB / 1.063 GB, free: 1.609 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009629/1.117, allocations: 249.8 kB / 1.064 GB, free: 1.57 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 5.367e-05/1.117, allocations: 14.72 kB / 1.064 GB, free: 1.57 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0001699/1.117, allocations: 35.58 kB / 1.064 GB, free: 17.54 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.0003272/1.117, allocations: 105.3 kB / 1.064 GB, free: 17.53 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/1.117, allocations: 5.312 kB / 1.064 GB, free: 17.52 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.894e-06/1.117, allocations: 0 / 1.064 GB, free: 17.52 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 4.469e-06/1.117, allocations: 0 / 1.064 GB, free: 17.52 MB / 0.6667 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.000509/1.118, allocations: 369.8 kB / 1.064 GB, free: 17.15 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/1.118, allocations: 9.625 kB / 1.064 GB, free: 17.15 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005336/1.118, allocations: 40.33 kB / 1.064 GB, free: 17.15 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/1.118, allocations: 163.1 kB / 1.064 GB, free: 16.95 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/1.118, allocations: 11.06 kB / 1.064 GB, free: 16.95 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.17e-05/1.119, allocations: 8.078 kB / 1.064 GB, free: 16.95 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000228/1.119, allocations: 75.73 kB / 1.064 GB, free: 16.92 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/1.119, allocations: 4 kB / 1.065 GB, free: 16.91 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.81e-05/1.119, allocations: 7.516 kB / 1.065 GB, free: 16.91 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/1.119, allocations: 1.062 kB / 1.065 GB, free: 16.91 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001848/1.119, allocations: 50.69 kB / 1.065 GB, free: 16.91 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002408/1.119, allocations: 185.5 kB / 1.065 GB, free: 16.71 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002444/1.12, allocations: 93.03 kB / 1.065 GB, free: 16.69 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.66e-05/1.12, allocations: 29.39 kB / 1.065 GB, free: 16.68 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000312/1.12, allocations: 178.3 kB / 1.065 GB, free: 16.49 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/1.12, allocations: 40.19 kB / 1.065 GB, free: 16.45 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=12): time 2.094e-06/1.12, allocations: 1.281 kB / 1.065 GB, free: 16.45 MB / 0.6667 GB Notification: Performance of matching and sorting (n=19): time 0.00188/1.122, allocations: 0.5491 MB / 1.066 GB, free: 16.16 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.052e-05/1.122, allocations: 54.8 kB / 1.066 GB, free: 16.1 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.081e-05/1.122, allocations: 97.11 kB / 1.066 GB, free: 16 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.118e-05/1.122, allocations: 32.58 kB / 1.066 GB, free: 15.97 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 3.36e-05/1.122, allocations: 80.52 kB / 1.066 GB, free: 15.89 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 7.234e-05/1.122, allocations: 69.53 kB / 1.066 GB, free: 15.85 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.12e-05/1.122, allocations: 8.531 kB / 1.066 GB, free: 15.84 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000119/1.122, allocations: 322.8 kB / 1.066 GB, free: 15.53 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/1.123, allocations: 34.81 kB / 1.066 GB, free: 15.53 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001307/1.123, allocations: 69.66 kB / 1.066 GB, free: 15.49 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/1.123, allocations: 51.05 kB / 1.066 GB, free: 15.49 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/1.123, allocations: 0 / 1.066 GB, free: 15.49 MB / 0.6667 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003918/1.123, allocations: 157 kB / 1.067 GB, free: 15.45 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/1.123, allocations: 4.375 kB / 1.067 GB, free: 15.45 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/1.123, allocations: 1.5 kB / 1.067 GB, free: 15.45 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.885e-05/1.123, allocations: 3.406 kB / 1.067 GB, free: 15.45 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003155/1.124, allocations: 39.03 kB / 1.067 GB, free: 15.44 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/1.124, allocations: 3.766 kB / 1.067 GB, free: 15.44 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.531e-05/1.124, allocations: 12 kB / 1.067 GB, free: 15.44 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.923e-05/1.124, allocations: 8.094 kB / 1.067 GB, free: 15.44 MB / 0.6667 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 0.0001247/1.124, allocations: 121.8 kB / 1.067 GB, free: 15.32 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.083e-05/1.124, allocations: 13.55 kB / 1.067 GB, free: 15.31 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.026e-05/1.124, allocations: 18.86 kB / 1.067 GB, free: 15.31 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/1.124, allocations: 1.594 kB / 1.067 GB, free: 15.31 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.116e-06/1.124, allocations: 1.219 kB / 1.067 GB, free: 15.31 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/1.124, allocations: 5.344 kB / 1.067 GB, free: 15.3 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000217/1.124, allocations: 193.1 kB / 1.067 GB, free: 15.12 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/1.124, allocations: 0.7969 kB / 1.067 GB, free: 15.12 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003948/1.125, allocations: 38.84 kB / 1.067 GB, free: 15.11 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/1.125, allocations: 1.375 kB / 1.067 GB, free: 15.11 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.866e-05/1.125, allocations: 5.375 kB / 1.067 GB, free: 15.11 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/1.125, allocations: 1.188 kB / 1.067 GB, free: 15.11 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/1.125, allocations: 4 kB / 1.067 GB, free: 15.11 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004576/1.125, allocations: 206.3 kB / 1.067 GB, free: 15.04 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/1.125, allocations: 95.94 kB / 1.067 GB, free: 14.94 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.668e-05/1.125, allocations: 5.328 kB / 1.067 GB, free: 14.94 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002206/1.126, allocations: 5.125 kB / 1.067 GB, free: 14.94 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.182e-05/1.126, allocations: 12.81 kB / 1.067 GB, free: 14.94 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.171e-05/1.126, allocations: 12.19 kB / 1.067 GB, free: 14.93 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 4.075e-05/1.126, allocations: 82.06 kB / 1.067 GB, free: 14.86 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3.81e-07/1.126, allocations: 0 / 1.067 GB, free: 14.86 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0003081/1.126, allocations: 26.53 kB / 1.067 GB, free: 14.86 MB / 0.6667 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.0001754/1.126, allocations: 117.5 kB / 1.068 GB, free: 14.76 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0002975/1.127, allocations: 98.73 kB / 1.068 GB, free: 14.76 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/1.127, allocations: 0.9688 kB / 1.068 GB, free: 14.76 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001221/1.127, allocations: 59 kB / 1.068 GB, free: 14.75 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003485/1.127, allocations: 12.05 kB / 1.068 GB, free: 14.75 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/1.128, allocations: 0.6211 MB / 1.068 GB, free: 14.32 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000269/1.129, allocations: 0.7034 MB / 1.069 GB, free: 13.62 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002299/1.129, allocations: 26.73 kB / 1.069 GB, free: 13.61 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.024e-05/1.129, allocations: 15.88 kB / 1.069 GB, free: 13.6 MB / 0.6667 GB Notification: Performance of SimCode: time 8.22e-07/1.129, allocations: 4 kB / 1.069 GB, free: 13.59 MB / 0.6667 GB Notification: Performance of Templates: time 0.005016/1.134, allocations: 1.022 MB / 1.07 GB, free: 13.51 MB / 0.6667 GB make -j1 -f Buildings_7.0.0_Buildings.Media.Examples.AirDerivativeCheck.makefile (rm -f Buildings_7.0.0_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_7.0.0_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_7.0.0_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_7.0.0_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1)