Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008076/0.0008076, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008031/0.0008031, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.896/0.896, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.611/1.611, allocations: 359 MB / 0.6044 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Media.Examples.AirDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.9517 GB, free: 3.047 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.534e-05/2.678e-05, allocations: 6.281 kB / 0.9517 GB, free: 3.039 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.001601/0.001628, allocations: 1.325 MB / 0.953 GB, free: 1.695 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.5696/0.5712, allocations: 130.1 MB / 1.08 GB, free: 40.63 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.839e-05/0.5712, allocations: 0 / 1.08 GB, free: 40.63 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 4.578e-05/0.5713, allocations: 3.938 kB / 1.08 GB, free: 40.63 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 9.907e-05/0.5714, allocations: 15.98 kB / 1.08 GB, free: 40.63 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007392/0.5721, allocations: 333.1 kB / 1.08 GB, free: 40.58 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 9.717e-05/0.5722, allocations: 68.34 kB / 1.08 GB, free: 40.58 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.042e-05/0.5723, allocations: 6.656 kB / 1.08 GB, free: 40.58 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.325e-05/0.5723, allocations: 44.72 kB / 1.08 GB, free: 40.58 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.079e-05/0.5724, allocations: 32.72 kB / 1.08 GB, free: 40.58 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.394e-05/0.5724, allocations: 3.125 kB / 1.08 GB, free: 40.58 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005169/0.5729, allocations: 378.9 kB / 1.081 GB, free: 40.54 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 5.423e-05/0.573, allocations: 16.78 kB / 1.081 GB, free: 40.54 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 3.245e-05/0.573, allocations: 22.8 kB / 1.081 GB, free: 40.54 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002391/0.5733, allocations: 172.5 kB / 1.081 GB, free: 40.53 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.5733, allocations: 0 / 1.081 GB, free: 40.53 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.934e-06/0.5733, allocations: 0 / 1.081 GB, free: 40.53 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.5733, allocations: 0 / 1.081 GB, free: 40.53 MB / 0.9948 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.0003506/0.5736, allocations: 310.5 kB / 1.081 GB, free: 40.25 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.5737, allocations: 12.75 kB / 1.081 GB, free: 40.25 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002704/0.5739, allocations: 43.22 kB / 1.081 GB, free: 40.25 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.447e-05/0.574, allocations: 110.2 kB / 1.082 GB, free: 40.12 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.574, allocations: 3.438 kB / 1.082 GB, free: 40.12 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.522e-05/0.574, allocations: 10.03 kB / 1.082 GB, free: 40.12 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.5742, allocations: 219.3 kB / 1.082 GB, free: 39.92 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.5742, allocations: 0 / 1.082 GB, free: 39.92 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.5742, allocations: 0 / 1.082 GB, free: 39.92 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.5742, allocations: 2.812 kB / 1.082 GB, free: 39.92 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.33e-05/0.5743, allocations: 42.03 kB / 1.082 GB, free: 39.92 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001241/0.5744, allocations: 128.7 kB / 1.082 GB, free: 39.79 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001383/0.5745, allocations: 96.92 kB / 1.082 GB, free: 39.76 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.333e-05/0.5746, allocations: 30.23 kB / 1.082 GB, free: 39.75 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001316/0.5747, allocations: 17.84 kB / 1.082 GB, free: 39.75 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/0.5747, allocations: 40.78 kB / 1.082 GB, free: 39.71 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=12): time 1.032e-06/0.5747, allocations: 0 / 1.082 GB, free: 39.71 MB / 0.9948 GB Notification: Performance of matching and sorting (n=19): time 0.0008394/0.5755, allocations: 493.8 kB / 1.083 GB, free: 39.52 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.343e-05/0.5756, allocations: 61.41 kB / 1.083 GB, free: 39.46 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.143e-05/0.5756, allocations: 98.88 kB / 1.083 GB, free: 39.36 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 9.808e-06/0.5756, allocations: 32.23 kB / 1.083 GB, free: 39.33 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 1.157e-05/0.5756, allocations: 80.52 kB / 1.083 GB, free: 39.25 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.758e-05/0.5757, allocations: 73.97 kB / 1.083 GB, free: 39.2 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.901e-05/0.5757, allocations: 40.64 kB / 1.083 GB, free: 39.18 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.876e-05/0.5757, allocations: 324.5 kB / 1.083 GB, free: 38.87 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.999e-05/0.5758, allocations: 33.05 kB / 1.083 GB, free: 38.87 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.348e-05/0.5758, allocations: 73.3 kB / 1.083 GB, free: 38.84 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.873e-05/0.5759, allocations: 117.9 kB / 1.083 GB, free: 38.8 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.5759, allocations: 1.094 kB / 1.083 GB, free: 38.8 MB / 0.9948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001341/0.5761, allocations: 153.7 kB / 1.084 GB, free: 38.76 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.5761, allocations: 5.688 kB / 1.084 GB, free: 38.76 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.5761, allocations: 2.875 kB / 1.084 GB, free: 38.76 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.5761, allocations: 0.75 kB / 1.084 GB, free: 38.76 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.5762, allocations: 38.58 kB / 1.084 GB, free: 38.75 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.5762, allocations: 6.844 kB / 1.084 GB, free: 38.75 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.976e-05/0.5762, allocations: 6.156 kB / 1.084 GB, free: 38.75 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.5762, allocations: 9.5 kB / 1.084 GB, free: 38.75 MB / 0.9948 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 4.874e-05/0.5763, allocations: 126.2 kB / 1.084 GB, free: 38.63 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.252e-05/0.5763, allocations: 10.78 kB / 1.084 GB, free: 38.62 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.097e-05/0.5763, allocations: 14.66 kB / 1.084 GB, free: 38.62 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.5763, allocations: 6.344 kB / 1.084 GB, free: 38.62 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.5763, allocations: 0 / 1.084 GB, free: 38.62 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.5763, allocations: 0 / 1.084 GB, free: 38.62 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.442e-05/0.5764, allocations: 139.1 kB / 1.084 GB, free: 38.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.5764, allocations: 7.969 kB / 1.084 GB, free: 38.49 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.5765, allocations: 36.09 kB / 1.084 GB, free: 38.49 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.5765, allocations: 3.031 kB / 1.084 GB, free: 38.49 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.5765, allocations: 3.5 kB / 1.084 GB, free: 38.49 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.5765, allocations: 0 / 1.084 GB, free: 38.49 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.5765, allocations: 4.016 kB / 1.084 GB, free: 38.49 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001955/0.5767, allocations: 211.8 kB / 1.084 GB, free: 38.41 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.736e-05/0.5768, allocations: 13.16 kB / 1.084 GB, free: 38.41 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.5768, allocations: 3.188 kB / 1.084 GB, free: 38.41 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.079e-05/0.5769, allocations: 9.312 kB / 1.084 GB, free: 38.41 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.704e-05/0.5769, allocations: 9.578 kB / 1.084 GB, free: 38.41 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.335e-06/0.5769, allocations: 12.75 kB / 1.084 GB, free: 38.41 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 1.194e-05/0.5769, allocations: 80.19 kB / 1.084 GB, free: 38.33 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.5769, allocations: 0 / 1.084 GB, free: 38.33 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001454/0.577, allocations: 27.25 kB / 1.084 GB, free: 38.33 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.0001058/0.5771, allocations: 112.2 kB / 1.084 GB, free: 38.24 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001427/0.5773, allocations: 97.97 kB / 1.085 GB, free: 38.23 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.5773, allocations: 96 / 1.085 GB, free: 38.23 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 4.035e-05/0.5773, allocations: 54.47 kB / 1.085 GB, free: 38.22 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002093/0.5775, allocations: 22.59 kB / 1.085 GB, free: 38.22 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004635/0.578, allocations: 420.5 kB / 1.085 GB, free: 37.93 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.167e-05/0.578, allocations: 89.02 kB / 1.085 GB, free: 37.85 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.852e-05/0.5781, allocations: 17.03 kB / 1.085 GB, free: 37.85 MB / 0.9948 GB Notification: Performance of SimCode: time 5.01e-07/0.5781, allocations: 0 / 1.085 GB, free: 37.85 MB / 0.9948 GB Notification: Performance of Templates: time 0.001946/0.58, allocations: 1.35 MB / 1.086 GB, free: 37.75 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_11_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Examples.AirDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_AirDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.0881073689088225]