Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001766/0.001766, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 13.93 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.002138/0.002138, allocations: 161.3 kB / 22.75 MB, free: 1.656 MB / 18.57 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.524/1.524, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 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 3.273/3.273, allocations: 429.6 MB / 0.673 GB, free: 3.895 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chePre.PIn|chePre.pAtm",fileNamePrefix="Buildings_latest_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_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0.7656 kB / 0.8776 GB, free: 6.504 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.801e-05/2.976e-05, allocations: 4.984 kB / 0.8776 GB, free: 6.5 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003431/0.003461, allocations: 1.69 MB / 0.8792 GB, free: 4.824 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002459/0.00592, allocations: 1.38 MB / 0.8806 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.392e-05/0.005994, allocations: 1.125 kB / 0.8806 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0002808/0.006275, allocations: 27.78 kB / 0.8806 GB, free: 3.41 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0004378/0.006712, allocations: 116.4 kB / 0.8807 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004433/0.007156, allocations: 140.6 kB / 0.8809 GB, free: 3.16 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004898/0.007645, allocations: 273.4 kB / 0.8811 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.007747, allocations: 18.23 kB / 0.8811 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001872/0.007934, allocations: 123.8 kB / 0.8813 GB, free: 2.75 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002222/0.008156, allocations: 94.89 kB / 0.8814 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.186e-05/0.008198, allocations: 17.25 kB / 0.8814 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002341/0.008432, allocations: 119.8 kB / 0.8815 GB, free: 2.527 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001272/0.008559, allocations: 91.73 kB / 0.8816 GB, free: 2.438 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.000108/0.008667, allocations: 64.42 kB / 0.8816 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0005653/0.009232, allocations: 374.6 kB / 0.882 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.009236, allocations: 1.375 kB / 0.882 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.272e-06/0.009238, allocations: 0 / 0.882 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.009243, allocations: 0 / 0.882 GB, free: 2.008 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0009521/0.01019, allocations: 0.4915 MB / 0.8825 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.01023, allocations: 12.03 kB / 0.8825 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001225/0.01035, allocations: 40.75 kB / 0.8825 GB, free: 1.434 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003708/0.01072, allocations: 220.7 kB / 0.8827 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.454e-05/0.01075, allocations: 13.33 kB / 0.8827 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.324e-05/0.01079, allocations: 21.47 kB / 0.8828 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005271/0.01132, allocations: 331.2 kB / 0.8831 GB, free: 0.7969 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.01133, allocations: 192 / 0.8831 GB, free: 0.7969 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.865e-05/0.01136, allocations: 11.62 kB / 0.8831 GB, free: 0.7891 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.01136, allocations: 4 kB / 0.8831 GB, free: 0.7852 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001035/0.0124, allocations: 0.6907 MB / 0.8838 GB, free: 96 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001134/0.01353, allocations: 0.4963 MB / 0.8843 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006693/0.0142, allocations: 217.3 kB / 0.8845 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001837/0.01438, allocations: 93.38 kB / 0.8846 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.25e-05/0.01444, allocations: 20.27 kB / 0.8846 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004271/0.01486, allocations: 203.9 kB / 0.8848 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=34): time 1.201e-05/0.01488, allocations: 0 / 0.8848 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of matching and sorting (n=34): time 0.0008416/0.01572, allocations: 386.4 kB / 0.8851 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/0.01583, allocations: 132.5 kB / 0.8853 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000426/0.01626, allocations: 321.7 kB / 0.8856 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.215e-05/0.0163, allocations: 29.7 kB / 0.8856 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.01642, allocations: 128.7 kB / 0.8857 GB, free: 13.99 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001302/0.01655, allocations: 119 kB / 0.8858 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/0.01667, allocations: 65.69 kB / 0.8859 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002259/0.0169, allocations: 338.8 kB / 0.8862 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000176/0.01708, allocations: 79.95 kB / 0.8863 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003112/0.01739, allocations: 217.9 kB / 0.8865 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004197/0.01781, allocations: 214.3 kB / 0.8867 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.01781, allocations: 4 kB / 0.8867 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000576/0.01839, allocations: 297.3 kB / 0.887 GB, free: 12.63 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.01841, allocations: 4 kB / 0.887 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.01841, allocations: 0 / 0.887 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.331e-05/0.01844, allocations: 4 kB / 0.887 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002479/0.01868, allocations: 55.91 kB / 0.8871 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.01869, allocations: 4 kB / 0.8871 GB, free: 12.56 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001862/0.01888, allocations: 27.92 kB / 0.8871 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.051e-05/0.01891, allocations: 11.98 kB / 0.8871 GB, free: 12.52 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conTim.k,$PRE.conTim.k,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 (36): * Single equations (assignments): 36 * 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.0002308/0.01914, allocations: 177.6 kB / 0.8873 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.672e-05/0.01923, allocations: 39.81 kB / 0.8873 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008179/0.02004, allocations: 385.9 kB / 0.8877 GB, free: 11.92 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.02005, allocations: 4 kB / 0.8877 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.02006, allocations: 0 / 0.8877 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.02006, allocations: 0 / 0.8877 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000355/0.02042, allocations: 248.9 kB / 0.8879 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.02042, allocations: 0 / 0.8879 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001972/0.02061, allocations: 59.91 kB / 0.888 GB, free: 11.58 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.02062, allocations: 0 / 0.888 GB, free: 11.58 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.376e-05/0.02064, allocations: 15.92 kB / 0.888 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.02064, allocations: 0 / 0.888 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.02065, allocations: 4 kB / 0.888 GB, free: 11.56 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006003/0.02125, allocations: 326.1 kB / 0.8883 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001465/0.02139, allocations: 71.69 kB / 0.8884 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.065e-05/0.02144, allocations: 15.98 kB / 0.8884 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001723/0.02162, allocations: 19.98 kB / 0.8884 GB, free: 11.12 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.455e-05/0.0217, allocations: 19.95 kB / 0.8884 GB, free: 11.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.734e-05/0.02173, allocations: 12 kB / 0.8884 GB, free: 11.09 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002918/0.02202, allocations: 249.2 kB / 0.8887 GB, free: 10.85 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.02202, allocations: 0 / 0.8887 GB, free: 10.85 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003638/0.02238, allocations: 75.86 kB / 0.8887 GB, free: 10.77 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,conTim.tNext,conTim.k) * Number of discrete states: 2 (conTim.k,conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002052/0.02444, allocations: 488.2 kB / 0.8892 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004907/0.02493, allocations: 223.6 kB / 0.8894 GB, free: 10.26 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.02493, allocations: 0 / 0.8894 GB, free: 10.26 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002198/0.02515, allocations: 120.4 kB / 0.8895 GB, free: 10.14 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003239/0.02547, allocations: 65.25 kB / 0.8896 GB, free: 10.08 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.02647, allocations: 0.5139 MB / 0.8901 GB, free: 9.543 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001975/0.02667, allocations: 155.3 kB / 0.8902 GB, free: 9.371 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0003502/0.02702, allocations: 150.9 kB / 0.8904 GB, free: 9.219 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.02713, allocations: 40.48 kB / 0.8904 GB, free: 9.18 MB / 0.8542 GB Notification: Performance of SimCode: time 6.61e-07/0.02713, allocations: 0 / 0.8904 GB, free: 9.18 MB / 0.8542 GB Notification: Performance of Templates: time 0.00939/0.03652, allocations: 3.51 MB / 0.8939 GB, free: 5.707 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.455625778995454]