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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 192.7 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.916/2.916, allocations: 496 MB / 0.7835 GB, free: 33.54 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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=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 0.001874/0.001874, allocations: 72.23 kB / 1.138 GB, free: 33.88 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3542/0.3561, allocations: 173.6 MB / 1.307 GB, free: 1.812 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002407/0.3585, allocations: 1.345 MB / 1.309 GB, free: 468 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1723/0.5308, allocations: 148.6 MB / 1.454 GB, free: 11.3 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.537e-05/0.5309, allocations: 0 / 1.454 GB, free: 11.3 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 5.653e-05/0.5309, allocations: 3.938 kB / 1.454 GB, free: 11.3 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 9.492e-05/0.531, allocations: 19.91 kB / 1.454 GB, free: 11.28 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009301/0.5319, allocations: 334.6 kB / 1.454 GB, free: 10.95 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0001069/0.532, allocations: 67.83 kB / 1.454 GB, free: 10.89 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 3.914e-05/0.5321, allocations: 4 kB / 1.454 GB, free: 10.88 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 4.427e-05/0.5321, allocations: 31.91 kB / 1.454 GB, free: 10.85 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.5322, allocations: 35.83 kB / 1.454 GB, free: 10.82 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/0.5322, allocations: 4 kB / 1.454 GB, free: 10.81 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007729/0.533, allocations: 438.7 kB / 1.455 GB, free: 10.38 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 5.5e-05/0.5331, allocations: 15.92 kB / 1.455 GB, free: 10.37 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 4.864e-05/0.5331, allocations: 31.91 kB / 1.455 GB, free: 10.34 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0002954/0.5334, allocations: 163.5 kB / 1.455 GB, free: 10.18 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.778e-06/0.5334, allocations: 0 / 1.455 GB, free: 10.18 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.203e-06/0.5334, allocations: 0 / 1.455 GB, free: 10.18 MB / 1.154 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.5334, allocations: 4 kB / 1.455 GB, free: 10.17 MB / 1.154 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.0004565/0.5339, allocations: 321.8 kB / 1.455 GB, free: 9.828 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.5339, allocations: 8.922 kB / 1.455 GB, free: 9.82 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000368/0.5343, allocations: 32.91 kB / 1.455 GB, free: 9.789 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.68e-05/0.5344, allocations: 106.5 kB / 1.455 GB, free: 9.66 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.5344, allocations: 7.938 kB / 1.455 GB, free: 9.652 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.597e-05/0.5344, allocations: 19.94 kB / 1.455 GB, free: 9.633 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.5346, allocations: 81.59 kB / 1.455 GB, free: 9.547 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.5346, allocations: 0 / 1.455 GB, free: 9.547 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.5346, allocations: 0 / 1.455 GB, free: 9.547 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.5346, allocations: 0 / 1.455 GB, free: 9.547 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.559e-05/0.5347, allocations: 55.88 kB / 1.455 GB, free: 9.492 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000197/0.5349, allocations: 160.6 kB / 1.456 GB, free: 9.293 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001838/0.5351, allocations: 82.64 kB / 1.456 GB, free: 9.203 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.343e-05/0.5351, allocations: 33.17 kB / 1.456 GB, free: 9.168 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001695/0.5353, allocations: 23.92 kB / 1.456 GB, free: 9.145 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/0.5353, allocations: 38.55 kB / 1.456 GB, free: 9.098 MB / 1.154 GB Notification: Performance of pre-optimization done (n=12): time 1.052e-06/0.5353, allocations: 0 / 1.456 GB, free: 9.098 MB / 1.154 GB Notification: Performance of matching and sorting (n=19): time 0.001285/0.5366, allocations: 477.6 kB / 1.456 GB, free: 8.598 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/0.5367, allocations: 51.41 kB / 1.456 GB, free: 8.535 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.512e-05/0.5368, allocations: 101.8 kB / 1.456 GB, free: 8.426 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.5368, allocations: 33.7 kB / 1.456 GB, free: 8.387 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 3.762e-05/0.5368, allocations: 84.58 kB / 1.456 GB, free: 8.301 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 6.469e-05/0.5369, allocations: 75.39 kB / 1.456 GB, free: 8.227 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.552e-05/0.5369, allocations: 37.7 kB / 1.457 GB, free: 8.184 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.5371, allocations: 322.8 kB / 1.457 GB, free: 7.859 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.1e-05/0.5371, allocations: 31.98 kB / 1.457 GB, free: 7.828 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.926e-05/0.5372, allocations: 70.45 kB / 1.457 GB, free: 7.75 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001635/0.5374, allocations: 123.3 kB / 1.457 GB, free: 7.617 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.5374, allocations: 3.984 kB / 1.457 GB, free: 7.613 MB / 1.154 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002233/0.5376, allocations: 149.6 kB / 1.457 GB, free: 7.461 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.5376, allocations: 8 kB / 1.457 GB, free: 7.453 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.5377, allocations: 0 / 1.457 GB, free: 7.453 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.5377, allocations: 4 kB / 1.457 GB, free: 7.449 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001684/0.5378, allocations: 39.92 kB / 1.457 GB, free: 7.41 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.5378, allocations: 7.984 kB / 1.457 GB, free: 7.402 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.059e-05/0.5379, allocations: 3.938 kB / 1.457 GB, free: 7.398 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.455e-05/0.5379, allocations: 12 kB / 1.457 GB, free: 7.387 MB / 1.154 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.0001119/0.538, allocations: 125.8 kB / 1.457 GB, free: 7.254 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.919e-05/0.538, allocations: 7.953 kB / 1.457 GB, free: 7.246 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.467e-05/0.5381, allocations: 16.47 kB / 1.457 GB, free: 7.234 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.5381, allocations: 4 kB / 1.457 GB, free: 7.23 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.5381, allocations: 0 / 1.457 GB, free: 7.23 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.5381, allocations: 7.922 kB / 1.457 GB, free: 7.223 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001753/0.5383, allocations: 160.7 kB / 1.458 GB, free: 7.023 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.5383, allocations: 3.984 kB / 1.458 GB, free: 7.02 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001871/0.5385, allocations: 39.98 kB / 1.458 GB, free: 6.98 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.5385, allocations: 4 kB / 1.458 GB, free: 6.977 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.5385, allocations: 0 / 1.458 GB, free: 6.977 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/0.5385, allocations: 8.125 kB / 1.458 GB, free: 6.969 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.5385, allocations: 3.938 kB / 1.458 GB, free: 6.965 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000319/0.5388, allocations: 215.2 kB / 1.458 GB, free: 6.738 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 6.026e-05/0.5389, allocations: 15.94 kB / 1.458 GB, free: 6.723 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.171e-05/0.5389, allocations: 11.98 kB / 1.458 GB, free: 6.711 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.539, allocations: 8 kB / 1.458 GB, free: 6.703 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.214e-05/0.539, allocations: 15.92 kB / 1.458 GB, free: 6.688 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/0.5391, allocations: 7.984 kB / 1.458 GB, free: 6.68 MB / 1.154 GB Notification: Performance of sorting global known variables: time 4.89e-05/0.5391, allocations: 79.28 kB / 1.458 GB, free: 6.602 MB / 1.154 GB Notification: Performance of sort global known variables: time 7e-08/0.5391, allocations: 0 / 1.458 GB, free: 6.602 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0002262/0.5393, allocations: 28 kB / 1.458 GB, free: 6.574 MB / 1.154 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.0001325/0.5395, allocations: 104 kB / 1.458 GB, free: 6.461 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0002191/0.5397, allocations: 104 kB / 1.458 GB, free: 6.359 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.5397, allocations: 0 / 1.458 GB, free: 6.359 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 7.673e-05/0.5398, allocations: 51.91 kB / 1.458 GB, free: 6.309 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002361/0.54, allocations: 13.97 kB / 1.458 GB, free: 6.297 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008094/0.5408, allocations: 0.515 MB / 1.459 GB, free: 5.758 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003353/0.5411, allocations: 0.7008 MB / 1.459 GB, free: 5.031 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0001021/0.5412, allocations: 24.61 kB / 1.459 GB, free: 5.008 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.813e-05/0.5413, allocations: 23.38 kB / 1.459 GB, free: 4.984 MB / 1.154 GB Notification: Performance of SimCode: time 2.91e-07/0.5413, allocations: 4 kB / 1.459 GB, free: 4.98 MB / 1.154 GB Notification: Performance of Templates: time 0.003928/0.5452, allocations: 1.201 MB / 1.461 GB, free: 3.781 MB / 1.154 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: 8.39473985414952]