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.001291/0.001291, allocations: 104.2 kB / 19.74 MB, free: 2.07 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.001488/0.001488, allocations: 212.4 kB / 23.04 MB, free: 4.867 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.435/1.435, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.097/3.097, allocations: 0.49 GB / 0.7959 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 69.59 kB / 1.155 GB, free: 25.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.307, allocations: 176.1 MB / 1.327 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002448/0.3095, allocations: 1.337 MB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1643/0.4738, allocations: 130.1 MB / 1.455 GB, free: 13.05 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.857e-05/0.4738, allocations: 0 / 1.455 GB, free: 13.05 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 5.244e-05/0.4739, allocations: 0 / 1.455 GB, free: 13.05 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0001014/0.474, allocations: 19.84 kB / 1.455 GB, free: 13.03 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001056/0.4751, allocations: 322.7 kB / 1.456 GB, free: 12.71 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0001214/0.4752, allocations: 71.75 kB / 1.456 GB, free: 12.64 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 4.729e-05/0.4752, allocations: 4 kB / 1.456 GB, free: 12.64 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 4.447e-05/0.4753, allocations: 31.91 kB / 1.456 GB, free: 12.61 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 9.447e-05/0.4754, allocations: 31.89 kB / 1.456 GB, free: 12.58 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.347e-05/0.4754, allocations: 4 kB / 1.456 GB, free: 12.57 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007308/0.4761, allocations: 370.7 kB / 1.456 GB, free: 12.21 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 5.432e-05/0.4762, allocations: 19.92 kB / 1.456 GB, free: 12.19 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 4.485e-05/0.4762, allocations: 23.92 kB / 1.456 GB, free: 12.17 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.000302/0.4765, allocations: 151.6 kB / 1.456 GB, free: 12.02 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.4765, allocations: 0 / 1.456 GB, free: 12.02 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.703e-06/0.4765, allocations: 3.938 kB / 1.456 GB, free: 12.02 MB / 1.154 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.4765, allocations: 0 / 1.456 GB, free: 12.02 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.0004701/0.477, allocations: 317.9 kB / 1.457 GB, free: 11.68 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.477, allocations: 12.03 kB / 1.457 GB, free: 11.66 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003936/0.4774, allocations: 36.86 kB / 1.457 GB, free: 11.63 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/0.4775, allocations: 110.5 kB / 1.457 GB, free: 11.5 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.4776, allocations: 11.94 kB / 1.457 GB, free: 11.48 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.341e-05/0.4776, allocations: 12 kB / 1.457 GB, free: 11.47 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002563/0.4778, allocations: 206.1 kB / 1.457 GB, free: 11.23 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.4778, allocations: 0 / 1.457 GB, free: 11.23 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.4779, allocations: 0 / 1.457 GB, free: 11.23 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.4779, allocations: 7.984 kB / 1.457 GB, free: 11.23 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.53e-05/0.478, allocations: 43.91 kB / 1.457 GB, free: 11.18 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001972/0.4782, allocations: 133.1 kB / 1.457 GB, free: 11.02 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001898/0.4784, allocations: 90.56 kB / 1.457 GB, free: 10.93 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.19e-05/0.4784, allocations: 24.84 kB / 1.457 GB, free: 10.9 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001695/0.4786, allocations: 31.98 kB / 1.457 GB, free: 10.87 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.842e-05/0.4786, allocations: 38.5 kB / 1.457 GB, free: 10.82 MB / 1.154 GB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/0.4786, allocations: 0 / 1.457 GB, free: 10.82 MB / 1.154 GB Notification: Performance of matching and sorting (n=19): time 0.001327/0.4799, allocations: 482.2 kB / 1.458 GB, free: 10.32 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/0.48, allocations: 55.41 kB / 1.458 GB, free: 10.25 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.169e-05/0.4801, allocations: 93.86 kB / 1.458 GB, free: 10.15 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.101e-05/0.4801, allocations: 29.7 kB / 1.458 GB, free: 10.11 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 4.033e-05/0.4801, allocations: 88.5 kB / 1.458 GB, free: 10.02 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 6.54e-05/0.4802, allocations: 67.39 kB / 1.458 GB, free: 9.957 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.176e-05/0.4802, allocations: 41.7 kB / 1.458 GB, free: 9.91 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.4804, allocations: 322.8 kB / 1.459 GB, free: 9.586 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.342e-05/0.4805, allocations: 31.98 kB / 1.459 GB, free: 9.555 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.654e-05/0.4806, allocations: 75.34 kB / 1.459 GB, free: 9.469 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001768/0.4807, allocations: 123.5 kB / 1.459 GB, free: 9.336 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.4807, allocations: 0 / 1.459 GB, free: 9.336 MB / 1.154 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002491/0.481, allocations: 149.5 kB / 1.459 GB, free: 9.184 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.481, allocations: 8 kB / 1.459 GB, free: 9.176 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.481, allocations: 0 / 1.459 GB, free: 9.176 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/0.481, allocations: 4 kB / 1.459 GB, free: 9.172 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001704/0.4812, allocations: 39.92 kB / 1.459 GB, free: 9.133 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.4812, allocations: 4 kB / 1.459 GB, free: 9.129 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.495e-05/0.4813, allocations: 4 kB / 1.459 GB, free: 9.125 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.801e-05/0.4813, allocations: 15.92 kB / 1.459 GB, free: 9.109 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.0001064/0.4814, allocations: 126.3 kB / 1.459 GB, free: 8.977 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.164e-05/0.4814, allocations: 7.953 kB / 1.459 GB, free: 8.969 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.833e-05/0.4815, allocations: 24.39 kB / 1.459 GB, free: 8.941 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.4815, allocations: 4 kB / 1.459 GB, free: 8.938 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.4815, allocations: 0 / 1.459 GB, free: 8.938 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.4815, allocations: 0 / 1.459 GB, free: 8.938 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001422/0.4816, allocations: 137.2 kB / 1.459 GB, free: 8.773 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.4816, allocations: 0 / 1.459 GB, free: 8.773 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001936/0.4818, allocations: 35.98 kB / 1.459 GB, free: 8.738 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.4818, allocations: 0 / 1.459 GB, free: 8.738 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/0.4818, allocations: 7.984 kB / 1.459 GB, free: 8.73 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.4818, allocations: 8.062 kB / 1.459 GB, free: 8.723 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.4818, allocations: 4 kB / 1.459 GB, free: 8.719 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003206/0.4822, allocations: 212.8 kB / 1.46 GB, free: 8.496 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 5.206e-05/0.4822, allocations: 16 kB / 1.46 GB, free: 8.48 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.4822, allocations: 4 kB / 1.46 GB, free: 8.477 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.4824, allocations: 11.98 kB / 1.46 GB, free: 8.465 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.049e-05/0.4824, allocations: 7.984 kB / 1.46 GB, free: 8.457 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.4824, allocations: 12 kB / 1.46 GB, free: 8.445 MB / 1.154 GB Notification: Performance of sorting global known variables: time 4.019e-05/0.4824, allocations: 79.27 kB / 1.46 GB, free: 8.367 MB / 1.154 GB Notification: Performance of sort global known variables: time 1e-07/0.4824, allocations: 96 / 1.46 GB, free: 8.367 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0002302/0.4827, allocations: 32 kB / 1.46 GB, free: 8.336 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.0001505/0.4828, allocations: 107.1 kB / 1.46 GB, free: 8.219 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0002109/0.483, allocations: 108.1 kB / 1.46 GB, free: 8.113 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.483, allocations: 0 / 1.46 GB, free: 8.113 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 7.365e-05/0.4831, allocations: 45.12 kB / 1.46 GB, free: 8.07 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002465/0.4834, allocations: 15.98 kB / 1.46 GB, free: 8.055 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008577/0.4842, allocations: 0.5445 MB / 1.461 GB, free: 7.48 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.464e-05/0.4843, allocations: 80 kB / 1.461 GB, free: 7.383 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.09e-05/0.4843, allocations: 19.44 kB / 1.461 GB, free: 7.363 MB / 1.154 GB Notification: Performance of SimCode: time 3.3e-07/0.4843, allocations: 0 / 1.461 GB, free: 7.363 MB / 1.154 GB Notification: Performance of Templates: time 0.00308/0.4874, allocations: 1.342 MB / 1.462 GB, free: 6.016 MB / 1.154 GB " [Timeout remaining time 300] 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/jenkins1/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: 10.971537567907944]