Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck") translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.55/1.55, allocations: 255.9 MB / 271.2 MB, free: 8.867 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.001004/0.001004, allocations: 186.3 kB / 330.8 MB, free: 444 kB / 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 1.586/1.586, allocations: 225.7 MB / 0.6016 GB, free: 1.5 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.0007695/0.0007695, allocations: 103.6 kB / 0.709 GB, free: 6.953 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004369/0.000437, allocations: 8 kB / 0.8261 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.1724, allocations: 109.2 MB / 0.9327 GB, free: 6.254 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.00109/0.1735, allocations: 1.04 MB / 0.9338 GB, free: 5.207 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.5436/0.7172, allocations: 137.1 MB / 1.068 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.473e-05/0.7173, allocations: 0 / 1.068 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 3.334e-05/0.7173, allocations: 3.812 kB / 1.068 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 9.341e-05/0.7174, allocations: 12.33 kB / 1.068 GB, free: 11.17 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009118/0.7183, allocations: 305.5 kB / 1.068 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.000108/0.7184, allocations: 81.75 kB / 1.068 GB, free: 11 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 4.04e-05/0.7185, allocations: 10.23 kB / 1.068 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 4.426e-05/0.7185, allocations: 25.42 kB / 1.068 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 9.415e-05/0.7186, allocations: 36.11 kB / 1.068 GB, free: 10.97 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.7187, allocations: 2.656 kB / 1.068 GB, free: 10.97 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008862/0.7196, allocations: 0.4901 MB / 1.069 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 4.834e-05/0.7196, allocations: 13.14 kB / 1.069 GB, free: 10.78 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 6.18e-05/0.7197, allocations: 55.61 kB / 1.069 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.0003491/0.72, allocations: 188.7 kB / 1.069 GB, free: 10.67 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.7201, allocations: 0 / 1.069 GB, free: 10.67 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.264e-06/0.7201, allocations: 2.156 kB / 1.069 GB, free: 10.67 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.7201, allocations: 0 / 1.069 GB, free: 10.67 MB / 0.6511 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.000407/0.7205, allocations: 376 kB / 1.069 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.7205, allocations: 12.73 kB / 1.069 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003804/0.7209, allocations: 35.56 kB / 1.069 GB, free: 10.28 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.945e-05/0.721, allocations: 166.1 kB / 1.069 GB, free: 10.08 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.721, allocations: 6.812 kB / 1.069 GB, free: 10.08 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.144e-05/0.7211, allocations: 16.94 kB / 1.069 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001541/0.7212, allocations: 78.53 kB / 1.07 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.7212, allocations: 1.125 kB / 1.07 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.7213, allocations: 1.281 kB / 1.07 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.7213, allocations: 4.906 kB / 1.07 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.037e-05/0.7214, allocations: 46.48 kB / 1.07 GB, free: 10.01 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001778/0.7216, allocations: 182.3 kB / 1.07 GB, free: 9.809 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000219/0.7218, allocations: 96.34 kB / 1.07 GB, free: 9.758 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.64e-05/0.7219, allocations: 33.09 kB / 1.07 GB, free: 9.742 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002241/0.7221, allocations: 177.1 kB / 1.07 GB, free: 9.551 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.7221, allocations: 38.16 kB / 1.07 GB, free: 9.508 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/0.7221, allocations: 0 / 1.07 GB, free: 9.508 MB / 0.6511 GB Notification: Performance of matching and sorting (n=19): time 0.001291/0.7234, allocations: 0.5473 MB / 1.071 GB, free: 9.148 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/0.7235, allocations: 55.44 kB / 1.071 GB, free: 9.086 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.427e-05/0.7235, allocations: 97.02 kB / 1.071 GB, free: 8.984 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/0.7236, allocations: 34.55 kB / 1.071 GB, free: 8.949 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.26e-05/0.7236, allocations: 80.52 kB / 1.071 GB, free: 8.867 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.233e-05/0.7237, allocations: 67.5 kB / 1.071 GB, free: 8.812 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.167e-06/0.7237, allocations: 5.031 kB / 1.071 GB, free: 8.809 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.682e-05/0.7238, allocations: 327.4 kB / 1.071 GB, free: 8.484 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.806e-05/0.7239, allocations: 36.27 kB / 1.071 GB, free: 8.477 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.864e-05/0.724, allocations: 68.25 kB / 1.071 GB, free: 8.43 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001723/0.7242, allocations: 113.5 kB / 1.071 GB, free: 8.359 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.7242, allocations: 1.344 kB / 1.071 GB, free: 8.359 MB / 0.6511 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002535/0.7244, allocations: 159.3 kB / 1.072 GB, free: 8.281 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.7245, allocations: 9.344 kB / 1.072 GB, free: 8.277 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.7245, allocations: 5.328 kB / 1.072 GB, free: 8.273 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.7245, allocations: 1.438 kB / 1.072 GB, free: 8.273 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000176/0.7247, allocations: 41.42 kB / 1.072 GB, free: 8.27 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.7247, allocations: 5.375 kB / 1.072 GB, free: 8.266 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.691e-05/0.7248, allocations: 9.312 kB / 1.072 GB, free: 8.258 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.7248, allocations: 5.25 kB / 1.072 GB, free: 8.258 MB / 0.6511 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.985e-05/0.7249, allocations: 123.5 kB / 1.072 GB, free: 8.137 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.876e-05/0.7249, allocations: 7.844 kB / 1.072 GB, free: 8.133 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.554e-05/0.725, allocations: 21.75 kB / 1.072 GB, free: 8.113 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.725, allocations: 2.719 kB / 1.072 GB, free: 8.113 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.725, allocations: 0 / 1.072 GB, free: 8.113 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.725, allocations: 6 kB / 1.072 GB, free: 8.109 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001693/0.7252, allocations: 189.8 kB / 1.072 GB, free: 7.906 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.7252, allocations: 0 / 1.072 GB, free: 7.906 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002003/0.7254, allocations: 42.91 kB / 1.072 GB, free: 7.898 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.7254, allocations: 1.312 kB / 1.072 GB, free: 7.898 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.7254, allocations: 5.25 kB / 1.072 GB, free: 7.895 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.7254, allocations: 5.25 kB / 1.072 GB, free: 7.891 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.7254, allocations: 4 kB / 1.072 GB, free: 7.887 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003634/0.7258, allocations: 213.6 kB / 1.072 GB, free: 7.766 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.107e-05/0.7259, allocations: 88.69 kB / 1.072 GB, free: 7.668 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.288e-05/0.7259, allocations: 7.688 kB / 1.072 GB, free: 7.664 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.726, allocations: 7.562 kB / 1.072 GB, free: 7.66 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.913e-05/0.7261, allocations: 10.59 kB / 1.072 GB, free: 7.66 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-05/0.7261, allocations: 8.781 kB / 1.072 GB, free: 7.656 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.284e-05/0.7262, allocations: 86.95 kB / 1.072 GB, free: 7.574 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.41e-07/0.7262, allocations: 0 / 1.072 GB, free: 7.574 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002483/0.7264, allocations: 26.03 kB / 1.072 GB, free: 7.57 MB / 0.6511 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/0.7266, allocations: 111.7 kB / 1.073 GB, free: 7.48 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002112/0.7268, allocations: 100.6 kB / 1.073 GB, free: 7.457 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.7268, allocations: 3.938 kB / 1.073 GB, free: 7.453 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.802e-05/0.7269, allocations: 56.67 kB / 1.073 GB, free: 7.438 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002302/0.7272, allocations: 19.69 kB / 1.073 GB, free: 7.426 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008603/0.728, allocations: 0.6232 MB / 1.073 GB, free: 6.973 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002716/0.7283, allocations: 0.7032 MB / 1.074 GB, free: 6.27 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001434/0.7285, allocations: 20.33 kB / 1.074 GB, free: 6.262 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.281e-05/0.7285, allocations: 15.06 kB / 1.074 GB, free: 6.254 MB / 0.6511 GB Notification: Performance of SimCode: time 3.31e-07/0.7285, allocations: 0 / 1.074 GB, free: 6.254 MB / 0.6511 GB Notification: Performance of Templates: time 0.003544/0.7321, allocations: 1.064 MB / 1.075 GB, free: 6.145 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1)