Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001693/0.001693, allocations: 83.03 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002036/0.002036, allocations: 163.4 kB / 22.46 MB, free: 5.375 MB / 14.72 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.539/1.539, allocations: 177.2 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.961/2.961, allocations: 377.8 MB / 0.6221 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Media.Examples.AirDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.9814 GB, free: 10.94 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.757e-05/2.913e-05, allocations: 9.312 kB / 0.9814 GB, free: 10.93 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.00243/0.002459, allocations: 1.325 MB / 0.9827 GB, free: 9.594 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.856/0.8585, allocations: 130.1 MB / 1.11 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.873e-05/0.8586, allocations: 0 / 1.11 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 6.059e-05/0.8586, allocations: 5.297 kB / 1.11 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001273/0.8587, allocations: 17 kB / 1.11 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001355/0.8601, allocations: 334.3 kB / 1.11 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001703/0.8603, allocations: 66.27 kB / 1.11 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.062e-05/0.8603, allocations: 7.406 kB / 1.11 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.282e-05/0.8604, allocations: 47.45 kB / 1.11 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001227/0.8606, allocations: 31.25 kB / 1.11 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.012e-05/0.8606, allocations: 3.531 kB / 1.11 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001106/0.8617, allocations: 379 kB / 1.111 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.8618, allocations: 16.86 kB / 1.111 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 8.136e-05/0.8619, allocations: 21.47 kB / 1.111 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005137/0.8624, allocations: 166.6 kB / 1.111 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.8624, allocations: 0.5312 kB / 1.111 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8624, allocations: 4 kB / 1.111 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.702e-06/0.8624, allocations: 0.75 kB / 1.111 GB, free: 14.35 MB / 0.9981 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.0005195/0.8629, allocations: 314.7 kB / 1.111 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/0.863, allocations: 10.61 kB / 1.111 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004848/0.8634, allocations: 41.64 kB / 1.111 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.479e-05/0.8635, allocations: 112.8 kB / 1.111 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/0.8636, allocations: 6.906 kB / 1.111 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.727e-05/0.8636, allocations: 10.89 kB / 1.111 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002769/0.8639, allocations: 212 kB / 1.111 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.8639, allocations: 4 kB / 1.111 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.083e-05/0.8639, allocations: 9.172 kB / 1.111 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.8639, allocations: 1.375 kB / 1.111 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001471/0.8641, allocations: 47.67 kB / 1.111 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002252/0.8643, allocations: 124.6 kB / 1.112 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002774/0.8646, allocations: 80.64 kB / 1.112 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.393e-05/0.8646, allocations: 32.78 kB / 1.112 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002327/0.8649, allocations: 20.33 kB / 1.112 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.446e-05/0.8649, allocations: 41.02 kB / 1.112 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=12): time 1.413e-06/0.8649, allocations: 0 / 1.112 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of matching and sorting (n=19): time 0.001697/0.8666, allocations: 488.1 kB / 1.112 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/0.8666, allocations: 54.33 kB / 1.112 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.293e-05/0.8667, allocations: 98.08 kB / 1.112 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.8667, allocations: 31.58 kB / 1.112 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.094e-05/0.8668, allocations: 84.98 kB / 1.113 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.69e-05/0.8668, allocations: 72.19 kB / 1.113 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.093e-05/0.8669, allocations: 40.41 kB / 1.113 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.032e-05/0.867, allocations: 319.5 kB / 1.113 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.468e-05/0.8671, allocations: 37.98 kB / 1.113 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/0.8672, allocations: 68.81 kB / 1.113 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002065/0.8674, allocations: 119.2 kB / 1.113 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.8674, allocations: 0.8125 kB / 1.113 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000284/0.8677, allocations: 159.7 kB / 1.113 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.8677, allocations: 11.78 kB / 1.113 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.8677, allocations: 1.562 kB / 1.113 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/0.8677, allocations: 2.281 kB / 1.113 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002088/0.8679, allocations: 38.81 kB / 1.113 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.868, allocations: 2.266 kB / 1.113 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.151e-05/0.868, allocations: 5.469 kB / 1.113 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.678e-05/0.868, allocations: 10.58 kB / 1.113 GB, free: 12.6 MB / 0.9981 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 8.597e-05/0.8681, allocations: 126.8 kB / 1.113 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.722e-05/0.8681, allocations: 8.328 kB / 1.113 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.779e-05/0.8682, allocations: 20.42 kB / 1.114 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.8682, allocations: 2.531 kB / 1.114 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/0.8682, allocations: 0 / 1.114 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.8682, allocations: 2.344 kB / 1.114 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001415/0.8684, allocations: 132.8 kB / 1.114 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.8684, allocations: 0 / 1.114 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002224/0.8686, allocations: 45.41 kB / 1.114 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.8686, allocations: 1.594 kB / 1.114 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.8686, allocations: 6.375 kB / 1.114 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.8686, allocations: 1.594 kB / 1.114 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.8686, allocations: 0 / 1.114 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003728/0.869, allocations: 215.3 kB / 1.114 GB, free: 12.26 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.407e-05/0.869, allocations: 14.27 kB / 1.114 GB, free: 12.26 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.643e-05/0.8691, allocations: 5 kB / 1.114 GB, free: 12.26 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.8692, allocations: 9.969 kB / 1.114 GB, free: 12.26 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.324e-05/0.8693, allocations: 9.953 kB / 1.114 GB, free: 12.26 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.736e-05/0.8693, allocations: 8.391 kB / 1.114 GB, free: 12.26 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.481e-05/0.8693, allocations: 76.84 kB / 1.114 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.8693, allocations: 1.094 kB / 1.114 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002561/0.8695, allocations: 29.25 kB / 1.114 GB, free: 12.18 MB / 0.9981 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.0001874/0.8697, allocations: 109.8 kB / 1.114 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002575/0.87, allocations: 98.44 kB / 1.114 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.87, allocations: 0.6562 kB / 1.114 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.983e-05/0.8701, allocations: 53.22 kB / 1.114 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002931/0.8704, allocations: 25.66 kB / 1.114 GB, free: 12.08 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007553/0.8711, allocations: 404.4 kB / 1.115 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.221e-05/0.8712, allocations: 83.25 kB / 1.115 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001136/0.8713, allocations: 27.81 kB / 1.115 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.209e-05/0.8714, allocations: 16.66 kB / 1.115 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of SimCode: time 4.31e-07/0.8714, allocations: 1.094 kB / 1.115 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of Templates: time 0.005107/0.8765, allocations: 1.071 MB / 1.116 GB, free: 11.59 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_12_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Examples.AirDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_AirDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.20718951523304]