Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001731/0.001731, allocations: 77.47 kB / 19.76 MB, free: 2.027 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.002101/0.002101, allocations: 159.2 kB / 23.01 MB, free: 4.949 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.455/1.455, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.988/2.988, allocations: 394.2 MB / 0.6386 GB, free: 11.93 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002119/0.002119, allocations: 71.89 kB / 1.009 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.881/0.8831, allocations: 181.8 MB / 1.187 GB, free: 16.17 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002489/0.8856, allocations: 1.332 MB / 1.188 GB, free: 15.24 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.1772/1.063, allocations: 130 MB / 1.315 GB, free: 2.504 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.655e-05/1.063, allocations: 0 / 1.315 GB, free: 2.504 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 4.356e-05/1.063, allocations: 4 kB / 1.315 GB, free: 2.5 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0001106/1.063, allocations: 15.84 kB / 1.315 GB, free: 2.484 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001178/1.064, allocations: 330.7 kB / 1.315 GB, free: 2.16 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0001396/1.064, allocations: 67.75 kB / 1.315 GB, free: 2.094 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 4.672e-05/1.064, allocations: 8 kB / 1.315 GB, free: 2.086 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 5.051e-05/1.064, allocations: 31.91 kB / 1.315 GB, free: 2.055 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/1.065, allocations: 31.89 kB / 1.315 GB, free: 2.023 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.768e-05/1.065, allocations: 8 kB / 1.315 GB, free: 2.016 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008406/1.065, allocations: 370.8 kB / 1.316 GB, free: 1.652 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 5.305e-05/1.065, allocations: 11.94 kB / 1.316 GB, free: 1.641 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 4.785e-05/1.066, allocations: 27.91 kB / 1.316 GB, free: 1.613 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0003629/1.066, allocations: 155.1 kB / 1.316 GB, free: 1.469 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/1.066, allocations: 0 / 1.316 GB, free: 1.469 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.283e-06/1.066, allocations: 4 kB / 1.316 GB, free: 1.465 MB / 1.154 GB Notification: Performance of Transformations before backend: time 5.079e-06/1.066, allocations: 0 / 1.316 GB, free: 1.465 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.0004947/1.066, allocations: 321.9 kB / 1.316 GB, free: 1.121 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/1.066, allocations: 8.031 kB / 1.316 GB, free: 1.113 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004224/1.067, allocations: 32.84 kB / 1.316 GB, free: 1.082 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/1.067, allocations: 106.5 kB / 1.316 GB, free: 0.9531 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/1.067, allocations: 11.94 kB / 1.316 GB, free: 0.9414 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.124e-05/1.067, allocations: 15.94 kB / 1.316 GB, free: 0.9258 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002616/1.067, allocations: 210 kB / 1.317 GB, free: 0.6836 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/1.067, allocations: 0 / 1.317 GB, free: 0.6836 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.848e-05/1.067, allocations: 4 kB / 1.317 GB, free: 0.6797 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/1.067, allocations: 0 / 1.317 GB, free: 0.6797 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/1.067, allocations: 51.89 kB / 1.317 GB, free: 0.6289 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001933/1.068, allocations: 129.2 kB / 1.317 GB, free: 484 kB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002025/1.068, allocations: 82.62 kB / 1.317 GB, free: 392 kB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.14e-05/1.068, allocations: 32.84 kB / 1.317 GB, free: 356 kB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001781/1.068, allocations: 15.98 kB / 1.317 GB, free: 340 kB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.688e-05/1.068, allocations: 42.5 kB / 1.317 GB, free: 288 kB / 1.154 GB Notification: Performance of pre-optimization done (n=12): time 1.513e-06/1.068, allocations: 0 / 1.317 GB, free: 288 kB / 1.154 GB Notification: Performance of matching and sorting (n=19): time 0.001412/1.069, allocations: 479.8 kB / 1.317 GB, free: 15.78 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/1.07, allocations: 55.41 kB / 1.317 GB, free: 15.71 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.899e-05/1.07, allocations: 97.86 kB / 1.318 GB, free: 15.61 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/1.07, allocations: 29.7 kB / 1.318 GB, free: 15.57 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 3.744e-05/1.07, allocations: 80.52 kB / 1.318 GB, free: 15.49 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 8.041e-05/1.07, allocations: 79.3 kB / 1.318 GB, free: 15.41 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.486e-05/1.07, allocations: 45.83 kB / 1.318 GB, free: 15.36 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001433/1.07, allocations: 322.8 kB / 1.318 GB, free: 15.04 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.492e-05/1.07, allocations: 39.97 kB / 1.318 GB, free: 15 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/1.07, allocations: 71.34 kB / 1.318 GB, free: 14.92 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001762/1.07, allocations: 111.3 kB / 1.318 GB, free: 14.8 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/1.07, allocations: 7.938 kB / 1.318 GB, free: 14.79 MB / 1.17 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002529/1.071, allocations: 161.5 kB / 1.318 GB, free: 14.62 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/1.071, allocations: 4 kB / 1.318 GB, free: 14.62 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/1.071, allocations: 0 / 1.318 GB, free: 14.62 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.87e-05/1.071, allocations: 4 kB / 1.318 GB, free: 14.62 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001798/1.071, allocations: 43.92 kB / 1.318 GB, free: 14.57 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/1.071, allocations: 0 / 1.318 GB, free: 14.57 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.306e-05/1.071, allocations: 8 kB / 1.318 GB, free: 14.57 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/1.071, allocations: 7.938 kB / 1.318 GB, free: 14.56 MB / 1.17 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.0001062/1.071, allocations: 121.8 kB / 1.319 GB, free: 14.43 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.279e-05/1.071, allocations: 11.89 kB / 1.319 GB, free: 14.42 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.653e-05/1.071, allocations: 20.47 kB / 1.319 GB, free: 14.4 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/1.071, allocations: 0 / 1.319 GB, free: 14.4 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/1.071, allocations: 0 / 1.319 GB, free: 14.4 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/1.071, allocations: 0 / 1.319 GB, free: 14.4 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001674/1.071, allocations: 137.2 kB / 1.319 GB, free: 14.23 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/1.071, allocations: 7.938 kB / 1.319 GB, free: 14.23 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002026/1.071, allocations: 31.98 kB / 1.319 GB, free: 14.2 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/1.071, allocations: 4 kB / 1.319 GB, free: 14.19 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/1.071, allocations: 4 kB / 1.319 GB, free: 14.19 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/1.071, allocations: 0 / 1.319 GB, free: 14.19 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.768e-06/1.071, allocations: 3.984 kB / 1.319 GB, free: 14.18 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003472/1.072, allocations: 222.4 kB / 1.319 GB, free: 13.95 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 6.257e-05/1.072, allocations: 16 kB / 1.319 GB, free: 13.93 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.995e-05/1.072, allocations: 4 kB / 1.319 GB, free: 13.93 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/1.072, allocations: 11.98 kB / 1.319 GB, free: 13.92 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.172e-05/1.072, allocations: 11.98 kB / 1.319 GB, free: 13.91 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/1.072, allocations: 8.25 kB / 1.319 GB, free: 13.9 MB / 1.17 GB Notification: Performance of sorting global known variables: time 5.483e-05/1.072, allocations: 75.28 kB / 1.319 GB, free: 13.82 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/1.072, allocations: 0 / 1.319 GB, free: 13.82 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0002405/1.072, allocations: 28 kB / 1.319 GB, free: 13.8 MB / 1.17 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.0001559/1.073, allocations: 119.1 kB / 1.319 GB, free: 13.67 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0002275/1.073, allocations: 99.89 kB / 1.319 GB, free: 13.57 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/1.073, allocations: 4.094 kB / 1.319 GB, free: 13.57 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 7.884e-05/1.073, allocations: 43.92 kB / 1.319 GB, free: 13.52 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000295/1.073, allocations: 26.42 kB / 1.319 GB, free: 13.5 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008648/1.074, allocations: 0.5 MB / 1.32 GB, free: 12.98 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.84e-05/1.074, allocations: 84.06 kB / 1.32 GB, free: 12.88 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0001152/1.074, allocations: 20.64 kB / 1.32 GB, free: 12.86 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.366e-05/1.074, allocations: 16.5 kB / 1.32 GB, free: 12.84 MB / 1.17 GB Notification: Performance of SimCode: time 3.91e-07/1.074, allocations: 4 kB / 1.32 GB, free: 12.84 MB / 1.17 GB Notification: Performance of Templates: time 0.004174/1.078, allocations: 1.078 MB / 1.321 GB, free: 11.78 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_AirDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.303200374939479]