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.0008315/0.0008315, 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.0007939/0.0007939, 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.8533/0.8533, allocations: 177.2 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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 1.747/1.747, allocations: 377.9 MB / 0.6229 GB, free: 8.648 MB / 0.5886 GB " [Timeout remaining time 178] 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.412e-06/1.412e-06, allocations: 0 / 0.9821 GB, free: 2.129 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.556e-05/2.697e-05, allocations: 6.281 kB / 0.9822 GB, free: 2.121 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.001945/0.001972, allocations: 1.336 MB / 0.9835 GB, free: 0.7734 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.505/0.507, allocations: 130.1 MB / 1.11 GB, free: 24.14 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.192e-05/0.507, allocations: 0 / 1.11 GB, free: 24.14 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 4.291e-05/0.5071, allocations: 6.047 kB / 1.11 GB, free: 24.14 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 9.27e-05/0.5072, allocations: 17.2 kB / 1.111 GB, free: 24.13 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006808/0.5078, allocations: 335 kB / 1.111 GB, free: 23.96 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 8.967e-05/0.5079, allocations: 69.72 kB / 1.111 GB, free: 23.94 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.457e-05/0.508, allocations: 3.188 kB / 1.111 GB, free: 23.94 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.468e-05/0.508, allocations: 44.61 kB / 1.111 GB, free: 23.92 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.708e-05/0.5081, allocations: 33.11 kB / 1.111 GB, free: 23.91 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.5081, allocations: 3.594 kB / 1.111 GB, free: 23.91 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004731/0.5086, allocations: 379.5 kB / 1.111 GB, free: 23.75 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 4.919e-05/0.5086, allocations: 17.09 kB / 1.111 GB, free: 23.75 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 3.193e-05/0.5087, allocations: 26.17 kB / 1.111 GB, free: 23.73 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002404/0.5089, allocations: 167.2 kB / 1.112 GB, free: 23.68 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.5089, allocations: 0 / 1.112 GB, free: 23.68 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5089, allocations: 0 / 1.112 GB, free: 23.68 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.5089, allocations: 2.203 kB / 1.112 GB, free: 23.68 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.0003295/0.5093, allocations: 309.2 kB / 1.112 GB, free: 23.39 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.5093, allocations: 10.11 kB / 1.112 GB, free: 23.39 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002575/0.5095, allocations: 39.34 kB / 1.112 GB, free: 23.38 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.086e-05/0.5096, allocations: 113.3 kB / 1.112 GB, free: 23.25 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.5096, allocations: 7.562 kB / 1.112 GB, free: 23.25 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.601e-05/0.5096, allocations: 14.41 kB / 1.112 GB, free: 23.24 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.5098, allocations: 212.9 kB / 1.112 GB, free: 23.03 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.5098, allocations: 0 / 1.112 GB, free: 23.03 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.5098, allocations: 5.844 kB / 1.112 GB, free: 23.03 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.5098, allocations: 2.281 kB / 1.112 GB, free: 23.03 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.89e-05/0.5099, allocations: 40.67 kB / 1.112 GB, free: 23.02 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001127/0.51, allocations: 127.3 kB / 1.112 GB, free: 22.89 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001354/0.5101, allocations: 86.17 kB / 1.112 GB, free: 22.84 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.421e-05/0.5102, allocations: 26.55 kB / 1.112 GB, free: 22.83 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001203/0.5103, allocations: 28.97 kB / 1.113 GB, free: 22.82 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.732e-05/0.5103, allocations: 38.98 kB / 1.113 GB, free: 22.78 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=12): time 1.142e-06/0.5103, allocations: 5.141 kB / 1.113 GB, free: 22.78 MB / 0.9948 GB Notification: Performance of matching and sorting (n=19): time 0.00082/0.5111, allocations: 484.9 kB / 1.113 GB, free: 22.51 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.997e-05/0.5111, allocations: 59.39 kB / 1.113 GB, free: 22.45 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.817e-05/0.5112, allocations: 94.12 kB / 1.113 GB, free: 22.35 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 9.027e-06/0.5112, allocations: 32.17 kB / 1.113 GB, free: 22.31 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 8.857e-06/0.5112, allocations: 80.52 kB / 1.113 GB, free: 22.23 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.692e-05/0.5112, allocations: 77.73 kB / 1.113 GB, free: 22.17 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.819e-05/0.5113, allocations: 37.97 kB / 1.113 GB, free: 22.14 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.745e-05/0.5113, allocations: 320.8 kB / 1.114 GB, free: 21.82 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.47e-05/0.5113, allocations: 34.03 kB / 1.114 GB, free: 21.82 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.772e-05/0.5114, allocations: 69.59 kB / 1.114 GB, free: 21.77 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001039/0.5115, allocations: 131.4 kB / 1.114 GB, free: 21.7 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.5115, allocations: 0 / 1.114 GB, free: 21.7 MB / 0.9948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001455/0.5116, allocations: 161.6 kB / 1.114 GB, free: 21.61 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.5116, allocations: 5.938 kB / 1.114 GB, free: 21.61 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.5117, allocations: 0 / 1.114 GB, free: 21.61 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.5117, allocations: 3.25 kB / 1.114 GB, free: 21.61 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.5118, allocations: 34.61 kB / 1.114 GB, free: 21.61 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.5118, allocations: 3.031 kB / 1.114 GB, free: 21.61 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.894e-05/0.5118, allocations: 6.375 kB / 1.114 GB, free: 21.61 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.5118, allocations: 8.469 kB / 1.114 GB, free: 21.61 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.458e-05/0.5119, allocations: 128.9 kB / 1.114 GB, free: 21.48 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.151e-05/0.5119, allocations: 8.641 kB / 1.114 GB, free: 21.47 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.114e-05/0.5119, allocations: 18.12 kB / 1.114 GB, free: 21.46 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.5119, allocations: 3.312 kB / 1.114 GB, free: 21.46 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.5119, allocations: 0.6562 kB / 1.114 GB, free: 21.46 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.5119, allocations: 0.6562 kB / 1.114 GB, free: 21.46 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.541e-05/0.512, allocations: 134.5 kB / 1.114 GB, free: 21.32 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.512, allocations: 0 / 1.114 GB, free: 21.32 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/0.5121, allocations: 43.83 kB / 1.114 GB, free: 21.31 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.5121, allocations: 1.344 kB / 1.114 GB, free: 21.31 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.5121, allocations: 1.875 kB / 1.114 GB, free: 21.31 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.5121, allocations: 4 kB / 1.114 GB, free: 21.3 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.82e-07/0.5121, allocations: 0.8438 kB / 1.114 GB, free: 21.3 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001956/0.5123, allocations: 205.1 kB / 1.115 GB, free: 21.19 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.708e-05/0.5123, allocations: 20.11 kB / 1.115 GB, free: 21.18 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/0.5123, allocations: 3.406 kB / 1.115 GB, free: 21.18 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.984e-05/0.5124, allocations: 13.22 kB / 1.115 GB, free: 21.18 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.969e-05/0.5124, allocations: 9.625 kB / 1.115 GB, free: 21.18 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.5124, allocations: 9.812 kB / 1.115 GB, free: 21.17 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 1.018e-05/0.5124, allocations: 77.06 kB / 1.115 GB, free: 21.1 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.5124, allocations: 5.188 kB / 1.115 GB, free: 21.09 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001472/0.5126, allocations: 29.59 kB / 1.115 GB, free: 21.09 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 8.898e-05/0.5127, allocations: 102.3 kB / 1.115 GB, free: 20.99 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001394/0.5128, allocations: 100.7 kB / 1.115 GB, free: 20.97 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.5128, allocations: 1.188 kB / 1.115 GB, free: 20.97 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 5.225e-05/0.5129, allocations: 55.53 kB / 1.115 GB, free: 20.95 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000191/0.5131, allocations: 23.47 kB / 1.115 GB, free: 20.94 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004293/0.5135, allocations: 421.3 kB / 1.115 GB, free: 20.62 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.67e-05/0.5135, allocations: 93.27 kB / 1.116 GB, free: 20.55 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.506e-05/0.5136, allocations: 21.31 kB / 1.116 GB, free: 20.54 MB / 0.9948 GB Notification: Performance of SimCode: time 3.51e-07/0.5136, allocations: 0 / 1.116 GB, free: 20.54 MB / 0.9948 GB Notification: Performance of Templates: time 0.00216/0.5157, allocations: 1.353 MB / 1.117 GB, free: 20.44 MB / 0.9948 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: 7.117599057964981]