Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002535/0.002535, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00284/0.00284, allocations: 173.2 kB / 22.76 MB, free: 1.664 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.59/1.59, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.435/3.435, allocations: 429.5 MB / 0.6729 GB, free: 4.016 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.hSteSym.|der.hSteCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck") translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.hSteSym.|der.hSteCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 0.8774 GB, free: 6.688 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.625e-05/2.762e-05, allocations: 5.984 kB / 0.8774 GB, free: 6.684 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002569/0.002597, allocations: 1.357 MB / 0.8787 GB, free: 5.34 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.2148/0.2174, allocations: 143.7 MB / 1.019 GB, free: 5.156 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.571e-05/0.2175, allocations: 0 / 1.019 GB, free: 5.156 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 7.84e-05/0.2175, allocations: 3.984 kB / 1.019 GB, free: 5.152 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0001402/0.2177, allocations: 15.86 kB / 1.019 GB, free: 5.137 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.001326/0.219, allocations: 338.3 kB / 1.019 GB, free: 4.805 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0001777/0.2192, allocations: 63.77 kB / 1.019 GB, free: 4.742 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 6.515e-05/0.2192, allocations: 8 kB / 1.019 GB, free: 4.734 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001179/0.2194, allocations: 39.88 kB / 1.019 GB, free: 4.695 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000149/0.2195, allocations: 31.95 kB / 1.02 GB, free: 4.664 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 2.154e-05/0.2195, allocations: 0 / 1.02 GB, free: 4.664 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009925/0.2205, allocations: 382.5 kB / 1.02 GB, free: 4.289 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 7.072e-05/0.2206, allocations: 19.97 kB / 1.02 GB, free: 4.27 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 5.042e-05/0.2206, allocations: 23.92 kB / 1.02 GB, free: 4.246 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.000386/0.221, allocations: 167.5 kB / 1.02 GB, free: 4.082 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.221, allocations: 0 / 1.02 GB, free: 4.082 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.743e-06/0.221, allocations: 0 / 1.02 GB, free: 4.082 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.221, allocations: 0 / 1.02 GB, free: 4.082 MB / 0.9792 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.0008979/0.2219, allocations: 415.9 kB / 1.02 GB, free: 3.641 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.222, allocations: 12.03 kB / 1.02 GB, free: 3.629 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004851/0.2225, allocations: 60.59 kB / 1.021 GB, free: 3.57 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.2226, allocations: 116.6 kB / 1.021 GB, free: 3.43 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.2226, allocations: 8.375 kB / 1.021 GB, free: 3.422 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.87e-05/0.2226, allocations: 16.33 kB / 1.021 GB, free: 3.406 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002711/0.2229, allocations: 198.1 kB / 1.021 GB, free: 3.176 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.2229, allocations: 3.938 kB / 1.021 GB, free: 3.172 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/0.2229, allocations: 4 kB / 1.021 GB, free: 3.168 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.223, allocations: 4 kB / 1.021 GB, free: 3.164 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.2231, allocations: 39.89 kB / 1.021 GB, free: 3.125 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002324/0.2233, allocations: 136.6 kB / 1.021 GB, free: 2.957 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002069/0.2235, allocations: 83.12 kB / 1.021 GB, free: 2.863 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.001e-05/0.2236, allocations: 31.67 kB / 1.021 GB, free: 2.828 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001973/0.2238, allocations: 23.98 kB / 1.021 GB, free: 2.805 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.802e-05/0.2238, allocations: 41.33 kB / 1.021 GB, free: 2.754 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=12): time 1.062e-06/0.2238, allocations: 0 / 1.021 GB, free: 2.754 MB / 0.9792 GB Notification: Performance of matching and sorting (n=19): time 0.001445/0.2252, allocations: 471.8 kB / 1.022 GB, free: 2.258 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.724e-05/0.2253, allocations: 55.41 kB / 1.022 GB, free: 2.191 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.2254, allocations: 149.9 kB / 1.022 GB, free: 2.027 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 3.278e-05/0.2254, allocations: 33.7 kB / 1.022 GB, free: 1.988 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 7.007e-05/0.2255, allocations: 127.2 kB / 1.022 GB, free: 1.859 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 8.523e-05/0.2256, allocations: 75.38 kB / 1.022 GB, free: 1.785 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.592e-05/0.2257, allocations: 47.36 kB / 1.022 GB, free: 1.73 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0002721/0.2259, allocations: 0.4922 MB / 1.023 GB, free: 1.227 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.528e-05/0.226, allocations: 31.92 kB / 1.023 GB, free: 1.195 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.2261, allocations: 85.89 kB / 1.023 GB, free: 1.098 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001967/0.2263, allocations: 122.7 kB / 1.023 GB, free: 0.9609 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.2263, allocations: 0 / 1.023 GB, free: 0.9609 MB / 0.9792 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002709/0.2266, allocations: 153.6 kB / 1.023 GB, free: 0.8047 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.2266, allocations: 8 kB / 1.023 GB, free: 0.7969 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.2266, allocations: 3.938 kB / 1.023 GB, free: 0.793 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.2266, allocations: 4 kB / 1.023 GB, free: 0.7891 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001786/0.2268, allocations: 35.92 kB / 1.023 GB, free: 0.7539 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.2268, allocations: 4 kB / 1.023 GB, free: 0.75 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.181e-05/0.2269, allocations: 7.984 kB / 1.023 GB, free: 0.7422 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.588e-05/0.2269, allocations: 8 kB / 1.023 GB, free: 0.7344 MB / 0.9792 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 0.0001607/0.2271, allocations: 180.4 kB / 1.023 GB, free: 0.5469 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.078e-05/0.2271, allocations: 12 kB / 1.023 GB, free: 0.5352 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.477e-05/0.2272, allocations: 16.47 kB / 1.023 GB, free: 0.5156 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.2272, allocations: 4 kB / 1.023 GB, free: 0.5117 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.2272, allocations: 0 / 1.023 GB, free: 0.5117 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.2272, allocations: 3.984 kB / 1.023 GB, free: 0.5078 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/0.2274, allocations: 140.5 kB / 1.023 GB, free: 344 kB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2274, allocations: 0 / 1.023 GB, free: 344 kB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002031/0.2276, allocations: 35.98 kB / 1.023 GB, free: 308 kB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-06/0.2276, allocations: 8 kB / 1.023 GB, free: 300 kB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.2276, allocations: 0 / 1.023 GB, free: 300 kB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.081e-06/0.2276, allocations: 3.938 kB / 1.023 GB, free: 296 kB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2276, allocations: 0 / 1.023 GB, free: 296 kB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003723/0.228, allocations: 212.2 kB / 1.024 GB, free: 60 kB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 6.035e-05/0.228, allocations: 15.94 kB / 1.024 GB, free: 44 kB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.004e-05/0.228, allocations: 4 kB / 1.024 GB, free: 40 kB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.2282, allocations: 4.188 kB / 1.024 GB, free: 36 kB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.952e-05/0.2282, allocations: 15.97 kB / 1.024 GB, free: 20 kB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.2282, allocations: 12 kB / 1.024 GB, free: 8 kB / 0.9792 GB Notification: Performance of sorting global known variables: time 9.172e-05/0.2283, allocations: 123.2 kB / 1.024 GB, free: 15.89 MB / 0.9948 GB Notification: Performance of sort global known variables: time 9e-08/0.2283, allocations: 0 / 1.024 GB, free: 15.89 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.000233/0.2285, allocations: 28 kB / 1.024 GB, free: 15.86 MB / 0.9948 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.0001669/0.2287, allocations: 107.2 kB / 1.024 GB, free: 15.75 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0002441/0.2289, allocations: 105.6 kB / 1.024 GB, free: 15.64 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.2289, allocations: 0 / 1.024 GB, free: 15.64 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 9.663e-05/0.229, allocations: 59.59 kB / 1.024 GB, free: 15.58 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003175/0.2294, allocations: 40 kB / 1.024 GB, free: 15.54 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007992/0.2302, allocations: 398.5 kB / 1.025 GB, free: 15.12 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.267e-05/0.2303, allocations: 88.05 kB / 1.025 GB, free: 15.02 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0001034/0.2304, allocations: 16.64 kB / 1.025 GB, free: 15 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.612e-05/0.2304, allocations: 24.44 kB / 1.025 GB, free: 14.98 MB / 0.9948 GB Notification: Performance of SimCode: time 4.11e-07/0.2304, allocations: 0 / 1.025 GB, free: 14.98 MB / 0.9948 GB Notification: Performance of Templates: time 0.005309/0.2357, allocations: 1.433 MB / 1.026 GB, free: 13.58 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_AirDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.817586358985864]