Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.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.001633/0.001633, allocations: 113.3 kB / 17.13 MB, free: 5.926 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.001944/0.001944, allocations: 204 kB / 20.09 MB, free: 2.977 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.517/1.517, allocations: 230.6 MB / 253.5 MB, free: 15.08 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 2.966/2.966, allocations: 0.49 GB / 0.7923 GB, free: 1.34 MB / 0.6231 GB " [Timeout remaining time 176] 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.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chePre.PIn|chePre.pAtm",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chePre.PIn|chePre.pAtm",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") [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.002046/0.002046, allocations: 79.88 kB / 1.15 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9888/0.9909, allocations: 176.1 MB / 1.322 GB, free: 25.03 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002656/0.9935, allocations: 1.705 MB / 1.324 GB, free: 23.84 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001529/0.9951, allocations: 1.316 MB / 1.325 GB, free: 22.92 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.775e-05/0.9951, allocations: 0 / 1.325 GB, free: 22.92 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002317/0.9954, allocations: 36.02 kB / 1.325 GB, free: 22.9 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003317/0.9957, allocations: 109.1 kB / 1.325 GB, free: 22.84 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003414/0.996, allocations: 146 kB / 1.325 GB, free: 22.76 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000241/0.9963, allocations: 261 kB / 1.325 GB, free: 22.65 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.9964, allocations: 20.88 kB / 1.325 GB, free: 22.64 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.168e-05/0.9965, allocations: 86.39 kB / 1.326 GB, free: 22.61 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001968/0.9966, allocations: 107.7 kB / 1.326 GB, free: 22.55 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.954e-05/0.9967, allocations: 16.78 kB / 1.326 GB, free: 22.55 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001751/0.9969, allocations: 123.4 kB / 1.326 GB, free: 22.52 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.664e-05/0.9969, allocations: 86.78 kB / 1.326 GB, free: 22.48 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.055e-05/0.997, allocations: 114.7 kB / 1.326 GB, free: 22.41 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003297/0.9973, allocations: 340.1 kB / 1.326 GB, free: 22.27 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.9974, allocations: 3.281 kB / 1.326 GB, free: 22.27 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.503e-06/0.9974, allocations: 0 / 1.326 GB, free: 22.27 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.214e-06/0.9974, allocations: 0 / 1.326 GB, free: 22.27 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0006869/0.998, allocations: 0.5632 MB / 1.327 GB, free: 21.77 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.9981, allocations: 12.83 kB / 1.327 GB, free: 21.76 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.713e-05/0.9982, allocations: 30.91 kB / 1.327 GB, free: 21.75 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002469/0.9984, allocations: 279.5 kB / 1.327 GB, free: 21.49 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.455e-05/0.9984, allocations: 11.03 kB / 1.327 GB, free: 21.49 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.954e-05/0.9985, allocations: 14.69 kB / 1.327 GB, free: 21.48 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003455/0.9988, allocations: 223.8 kB / 1.327 GB, free: 21.36 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.9988, allocations: 0.7812 kB / 1.327 GB, free: 21.36 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.9989, allocations: 5.312 kB / 1.327 GB, free: 21.36 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.9989, allocations: 8.172 kB / 1.327 GB, free: 21.36 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009342/0.9998, allocations: 0.736 MB / 1.328 GB, free: 21.27 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008383/1.001, allocations: 0.5927 MB / 1.329 GB, free: 20.86 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004044/1.001, allocations: 205.3 kB / 1.329 GB, free: 20.78 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001629/1.001, allocations: 90.75 kB / 1.329 GB, free: 20.74 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 5.285e-05/1.001, allocations: 17.16 kB / 1.329 GB, free: 20.74 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003722/1.002, allocations: 178 kB / 1.329 GB, free: 20.65 MB / 1.061 GB Notification: Performance of pre-optimization done (n=33): time 2.024e-06/1.002, allocations: 0 / 1.329 GB, free: 20.65 MB / 1.061 GB Notification: Performance of matching and sorting (n=33): time 0.0007132/1.002, allocations: 368.8 kB / 1.33 GB, free: 20.51 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.086e-05/1.002, allocations: 133.7 kB / 1.33 GB, free: 20.35 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002907/1.003, allocations: 321.6 kB / 1.33 GB, free: 20.18 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/1.003, allocations: 32.11 kB / 1.33 GB, free: 20.14 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.946e-05/1.003, allocations: 127.3 kB / 1.33 GB, free: 20.03 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.211e-05/1.003, allocations: 126.5 kB / 1.33 GB, free: 19.93 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.813e-05/1.003, allocations: 61.78 kB / 1.33 GB, free: 19.89 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.516e-05/1.003, allocations: 337.9 kB / 1.331 GB, free: 19.57 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/1.003, allocations: 78.98 kB / 1.331 GB, free: 19.55 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001801/1.003, allocations: 124.2 kB / 1.331 GB, free: 19.48 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003161/1.004, allocations: 207.4 kB / 1.331 GB, free: 19.4 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/1.004, allocations: 0.6562 kB / 1.331 GB, free: 19.4 MB / 1.061 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004612/1.004, allocations: 281.6 kB / 1.331 GB, free: 19.28 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/1.004, allocations: 7.75 kB / 1.331 GB, free: 19.28 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.381e-06/1.004, allocations: 0.75 kB / 1.331 GB, free: 19.28 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/1.004, allocations: 1.781 kB / 1.331 GB, free: 19.28 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002313/1.004, allocations: 58.06 kB / 1.331 GB, free: 19.28 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/1.004, allocations: 1.094 kB / 1.331 GB, free: 19.28 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001537/1.005, allocations: 35 kB / 1.331 GB, free: 19.25 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.68e-05/1.005, allocations: 11.06 kB / 1.331 GB, free: 19.25 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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.0001325/1.005, allocations: 165.8 kB / 1.332 GB, free: 19.11 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.521e-05/1.005, allocations: 29.98 kB / 1.332 GB, free: 19.1 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006804/1.005, allocations: 377.3 kB / 1.332 GB, free: 18.94 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/1.005, allocations: 3.281 kB / 1.332 GB, free: 18.94 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/1.005, allocations: 0 / 1.332 GB, free: 18.94 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/1.005, allocations: 6.984 kB / 1.332 GB, free: 18.93 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000303/1.006, allocations: 329.8 kB / 1.332 GB, free: 18.68 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/1.006, allocations: 0 / 1.332 GB, free: 18.68 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001717/1.006, allocations: 59.12 kB / 1.332 GB, free: 18.68 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/1.006, allocations: 0.9062 kB / 1.332 GB, free: 18.68 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.119e-05/1.006, allocations: 10.53 kB / 1.332 GB, free: 18.67 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/1.006, allocations: 1.562 kB / 1.332 GB, free: 18.67 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/1.006, allocations: 1.766 kB / 1.332 GB, free: 18.67 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004731/1.006, allocations: 327.7 kB / 1.333 GB, free: 18.51 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001192/1.007, allocations: 144.2 kB / 1.333 GB, free: 18.38 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.145e-05/1.007, allocations: 7.25 kB / 1.333 GB, free: 18.38 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/1.007, allocations: 18.78 kB / 1.333 GB, free: 18.37 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.137e-05/1.007, allocations: 29.7 kB / 1.333 GB, free: 18.36 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.179e-05/1.007, allocations: 14.55 kB / 1.333 GB, free: 18.36 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002143/1.007, allocations: 244.4 kB / 1.333 GB, free: 18.23 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/1.007, allocations: 3.938 kB / 1.333 GB, free: 18.23 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003456/1.007, allocations: 76.69 kB / 1.333 GB, free: 18.21 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001543/1.009, allocations: 459 kB / 1.334 GB, free: 18 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005248/1.009, allocations: 215.7 kB / 1.334 GB, free: 17.94 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/1.009, allocations: 1.234 kB / 1.334 GB, free: 17.94 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002388/1.01, allocations: 115.5 kB / 1.334 GB, free: 17.91 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002921/1.01, allocations: 33.53 kB / 1.334 GB, free: 17.89 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/1.011, allocations: 0.5463 MB / 1.334 GB, free: 17.57 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001846/1.011, allocations: 0.7648 MB / 1.335 GB, free: 16.86 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001192/1.011, allocations: 49.62 kB / 1.335 GB, free: 16.84 MB / 1.061 GB Notification: Performance of SimCode: time 4.1e-07/1.011, allocations: 0 / 1.335 GB, free: 16.84 MB / 1.061 GB Notification: Performance of Templates: time 0.00822/1.02, allocations: 4.61 MB / 1.34 GB, free: 16.28 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.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: 12.508490980995703]