Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001738/0.001738, allocations: 106.2 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002026/0.002026, allocations: 188.4 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 225.6 MB / 249.9 MB, free: 13.45 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.557/2.557, allocations: 443.5 MB / 0.7309 GB, free: 12.93 MB / 0.5919 GB [Timeout remaining time 87] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=501,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.hSteSym.|der.hSteCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_10_Buildings.Media.Examples.AirDerivativeCheck") translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=501,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.hSteSym.|der.hSteCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_10_Buildings.Media.Examples.AirDerivativeCheck") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 63.89 kB / 1.06 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7749/0.7769, allocations: 160.7 MB / 1.216 GB, free: 3.957 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002465/0.7793, allocations: 1.336 MB / 1.218 GB, free: 2.898 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.1804/0.9598, allocations: 148.5 MB / 1.363 GB, free: 1.324 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.513e-05/0.9598, allocations: 0 / 1.363 GB, free: 1.324 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.538e-05/0.9599, allocations: 0 / 1.363 GB, free: 1.324 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001052/0.96, allocations: 15.84 kB / 1.363 GB, free: 1.309 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001009/0.961, allocations: 346.6 kB / 1.363 GB, free: 0.9688 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001301/0.9611, allocations: 59.78 kB / 1.363 GB, free: 0.9102 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.359e-05/0.9612, allocations: 3.984 kB / 1.363 GB, free: 0.9062 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.746e-05/0.9612, allocations: 27.92 kB / 1.363 GB, free: 0.8789 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.9613, allocations: 31.89 kB / 1.363 GB, free: 0.8477 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.9613, allocations: 4 kB / 1.363 GB, free: 0.8438 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008549/0.9622, allocations: 446.4 kB / 1.364 GB, free: 420 kB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.514e-05/0.9622, allocations: 15.97 kB / 1.364 GB, free: 404 kB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.8e-05/0.9623, allocations: 35.86 kB / 1.364 GB, free: 368 kB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003277/0.9626, allocations: 150.2 kB / 1.364 GB, free: 224 kB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.9626, allocations: 0 / 1.364 GB, free: 224 kB / 1.061 GB Notification: Performance of FrontEnd: time 1.453e-06/0.9626, allocations: 0 / 1.364 GB, free: 224 kB / 1.061 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.9626, allocations: 0 / 1.364 GB, free: 224 kB / 1.061 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.0005343/0.9632, allocations: 397.5 kB / 1.364 GB, free: 15.79 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.9632, allocations: 12.58 kB / 1.364 GB, free: 15.77 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000404/0.9636, allocations: 36.86 kB / 1.364 GB, free: 15.74 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.9637, allocations: 168.3 kB / 1.365 GB, free: 15.54 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.9638, allocations: 11.94 kB / 1.365 GB, free: 15.52 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.883e-05/0.9638, allocations: 15.94 kB / 1.365 GB, free: 15.51 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.964, allocations: 73.59 kB / 1.365 GB, free: 15.43 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.964, allocations: 0 / 1.365 GB, free: 15.43 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.389e-05/0.964, allocations: 8 kB / 1.365 GB, free: 15.42 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.505e-06/0.964, allocations: 0 / 1.365 GB, free: 15.42 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.512e-05/0.9641, allocations: 47.89 kB / 1.365 GB, free: 15.38 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002232/0.9643, allocations: 193.5 kB / 1.365 GB, free: 15.14 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001878/0.9645, allocations: 90.64 kB / 1.365 GB, free: 15.04 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.769e-05/0.9646, allocations: 33.09 kB / 1.365 GB, free: 15 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002561/0.9648, allocations: 178.2 kB / 1.365 GB, free: 14.79 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/0.9649, allocations: 38.56 kB / 1.365 GB, free: 14.75 MB / 1.076 GB Notification: Performance of pre-optimization done (n=12): time 1.212e-06/0.9649, allocations: 0 / 1.365 GB, free: 14.75 MB / 1.076 GB Notification: Performance of matching and sorting (n=19): time 0.001313/0.9662, allocations: 0.537 MB / 1.366 GB, free: 14.16 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.9662, allocations: 55.41 kB / 1.366 GB, free: 14.09 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.796e-05/0.9663, allocations: 105.8 kB / 1.366 GB, free: 13.98 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/0.9663, allocations: 33.7 kB / 1.366 GB, free: 13.94 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.709e-05/0.9664, allocations: 80.52 kB / 1.366 GB, free: 13.86 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 6.912e-05/0.9664, allocations: 71.33 kB / 1.366 GB, free: 13.79 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.021e-05/0.9665, allocations: 41.56 kB / 1.366 GB, free: 13.74 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.9666, allocations: 322.8 kB / 1.366 GB, free: 13.41 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.732e-05/0.9667, allocations: 35.98 kB / 1.366 GB, free: 13.38 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.831e-05/0.9668, allocations: 71.53 kB / 1.366 GB, free: 13.3 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001659/0.967, allocations: 115.3 kB / 1.367 GB, free: 13.17 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.967, allocations: 4 kB / 1.367 GB, free: 13.17 MB / 1.076 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002427/0.9672, allocations: 161.5 kB / 1.367 GB, free: 13 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.9672, allocations: 4 kB / 1.367 GB, free: 13 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.9672, allocations: 0 / 1.367 GB, free: 13 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.9672, allocations: 4 kB / 1.367 GB, free: 13 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/0.9674, allocations: 43.92 kB / 1.367 GB, free: 12.95 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.9674, allocations: 160 / 1.367 GB, free: 12.95 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.592e-05/0.9675, allocations: 11.94 kB / 1.367 GB, free: 12.94 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.9675, allocations: 7.984 kB / 1.367 GB, free: 12.93 MB / 1.076 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.0001003/0.9676, allocations: 119.2 kB / 1.367 GB, free: 12.81 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.333e-05/0.9676, allocations: 7.953 kB / 1.367 GB, free: 12.8 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.3e-05/0.9677, allocations: 16.44 kB / 1.367 GB, free: 12.78 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.9677, allocations: 4 kB / 1.367 GB, free: 12.78 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.9677, allocations: 3.984 kB / 1.367 GB, free: 12.77 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.9677, allocations: 7.938 kB / 1.367 GB, free: 12.77 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001814/0.9679, allocations: 197.6 kB / 1.367 GB, free: 12.52 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.9679, allocations: 0 / 1.367 GB, free: 12.52 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001898/0.968, allocations: 35.98 kB / 1.367 GB, free: 12.49 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.968, allocations: 0 / 1.367 GB, free: 12.49 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.9681, allocations: 4 kB / 1.367 GB, free: 12.48 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.9681, allocations: 7.938 kB / 1.367 GB, free: 12.48 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.9681, allocations: 0 / 1.367 GB, free: 12.48 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003239/0.9684, allocations: 219.2 kB / 1.367 GB, free: 12.25 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 8.739e-05/0.9685, allocations: 89.16 kB / 1.368 GB, free: 12.14 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.9685, allocations: 4 kB / 1.368 GB, free: 12.14 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.9686, allocations: 8.25 kB / 1.368 GB, free: 12.13 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.374e-05/0.9686, allocations: 19.81 kB / 1.368 GB, free: 12.11 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.9687, allocations: 15.98 kB / 1.368 GB, free: 12.09 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.161e-05/0.9687, allocations: 79.28 kB / 1.368 GB, free: 12.02 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.9687, allocations: 0 / 1.368 GB, free: 12.02 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002179/0.9689, allocations: 24 kB / 1.368 GB, free: 11.99 MB / 1.076 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.0001597/0.9691, allocations: 107.3 kB / 1.368 GB, free: 11.88 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002105/0.9693, allocations: 99.83 kB / 1.368 GB, free: 11.78 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.9693, allocations: 4 kB / 1.368 GB, free: 11.77 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 7.514e-05/0.9694, allocations: 47.91 kB / 1.368 GB, free: 11.73 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/0.9696, allocations: 16 kB / 1.368 GB, free: 11.71 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008586/0.9705, allocations: 0.5376 MB / 1.368 GB, free: 11.14 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003051/0.9708, allocations: 0.6969 MB / 1.369 GB, free: 10.42 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.881e-05/0.9708, allocations: 19.42 kB / 1.369 GB, free: 10.4 MB / 1.076 GB Notification: Performance of SimCode: time 3.31e-07/0.9708, allocations: 0 / 1.369 GB, free: 10.4 MB / 1.076 GB Notification: Performance of Templates: time 0.003144/0.974, allocations: 1.315 MB / 1.37 GB, free: 9.082 MB / 1.076 GB [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_10_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Media.Examples.AirDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_AirDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.AirDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches