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.001171/0.001171, allocations: 92.7 kB / 20.21 MB, free: 4.227 MB / 18.57 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.001502/0.001502, allocations: 161.3 kB / 23.51 MB, free: 0.9219 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 0.8987/0.8987, allocations: 177.2 MB / 203.9 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 179] 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 1.958/1.958, allocations: 429.5 MB / 0.6737 GB, free: 3.898 MB / 0.6355 GB " [Timeout remaining time 177] 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 2.665e-06/2.665e-06, allocations: 0 / 0.8783 GB, free: 6.496 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.443e-05/3.709e-05, allocations: 6.25 kB / 0.8783 GB, free: 6.488 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002951/0.002988, allocations: 1.686 MB / 0.88 GB, free: 4.82 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001791/0.00478, allocations: 1.386 MB / 0.8813 GB, free: 3.43 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001098/0.004889, allocations: 8.5 kB / 0.8813 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0002812/0.005171, allocations: 28.75 kB / 0.8814 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000509/0.00568, allocations: 108.4 kB / 0.8815 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004272/0.006107, allocations: 152.1 kB / 0.8816 GB, free: 3.141 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000375/0.006482, allocations: 265.4 kB / 0.8819 GB, free: 2.879 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001636/0.006645, allocations: 14.23 kB / 0.8819 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001526/0.006798, allocations: 127.8 kB / 0.882 GB, free: 2.738 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00018/0.006978, allocations: 88.8 kB / 0.8821 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.658e-05/0.007014, allocations: 20 kB / 0.8821 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002378/0.007252, allocations: 121 kB / 0.8822 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.007363, allocations: 83.73 kB / 0.8823 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 9.695e-05/0.00746, allocations: 71.77 kB / 0.8824 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004328/0.007893, allocations: 371.7 kB / 0.8827 GB, free: 2 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.007898, allocations: 0 / 0.8827 GB, free: 2 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.773e-06/0.0079, allocations: 0 / 0.8827 GB, free: 2 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.183e-06/0.007907, allocations: 1.094 kB / 0.8827 GB, free: 2 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.0008207/0.008727, allocations: 0.494 MB / 0.8832 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.008776, allocations: 9.156 kB / 0.8832 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001129/0.008889, allocations: 48.75 kB / 0.8833 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003006/0.00919, allocations: 220.7 kB / 0.8835 GB, free: 1.176 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.009208, allocations: 13.8 kB / 0.8835 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.989e-05/0.009238, allocations: 16.38 kB / 0.8835 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003917/0.00963, allocations: 335.2 kB / 0.8838 GB, free: 0.7812 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.00964, allocations: 0.9062 kB / 0.8838 GB, free: 0.7812 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.354e-05/0.009664, allocations: 12.12 kB / 0.8838 GB, free: 0.7695 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.009671, allocations: 7.219 kB / 0.8839 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005374/0.01021, allocations: 0.6829 MB / 0.8845 GB, free: 84 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007174/0.01093, allocations: 0.4925 MB / 0.885 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002842/0.01121, allocations: 221.6 kB / 0.8852 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.01132, allocations: 97.38 kB / 0.8853 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.749e-05/0.01135, allocations: 12.27 kB / 0.8853 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002614/0.01162, allocations: 208.5 kB / 0.8855 GB, free: 15.01 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=34): time 2.775e-06/0.01162, allocations: 0 / 0.8855 GB, free: 15.01 MB / 0.8542 GB Notification: Performance of matching and sorting (n=34): time 0.0005005/0.01212, allocations: 378.4 kB / 0.8859 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.701e-05/0.01219, allocations: 142.1 kB / 0.886 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002346/0.01242, allocations: 317.7 kB / 0.8863 GB, free: 14.15 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.01245, allocations: 33.7 kB / 0.8863 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.72e-05/0.01252, allocations: 132.7 kB / 0.8865 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.452e-05/0.01259, allocations: 108.7 kB / 0.8866 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.778e-05/0.01266, allocations: 65.69 kB / 0.8866 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.986e-05/0.01276, allocations: 342.8 kB / 0.887 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000102/0.01286, allocations: 87.94 kB / 0.887 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001512/0.01301, allocations: 202 kB / 0.8872 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002356/0.01325, allocations: 223.3 kB / 0.8875 GB, free: 12.92 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.01325, allocations: 0 / 0.8875 GB, free: 12.92 MB / 0.8542 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003147/0.01356, allocations: 289.3 kB / 0.8877 GB, free: 12.63 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.01358, allocations: 11.94 kB / 0.8877 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.01358, allocations: 0 / 0.8877 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.0136, allocations: 0 / 0.8877 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/0.01376, allocations: 63.95 kB / 0.8878 GB, free: 12.56 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.01377, allocations: 4 kB / 0.8878 GB, free: 12.56 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.364e-05/0.01385, allocations: 35.73 kB / 0.8878 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.812e-05/0.01387, allocations: 19.98 kB / 0.8879 GB, free: 12.5 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.0001169/0.01398, allocations: 169.6 kB / 0.888 GB, free: 12.33 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.941e-05/0.01402, allocations: 39.81 kB / 0.8881 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004317/0.01445, allocations: 382 kB / 0.8884 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.01446, allocations: 4 kB / 0.8884 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.01446, allocations: 3.938 kB / 0.8884 GB, free: 11.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.01447, allocations: 0 / 0.8884 GB, free: 11.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001906/0.01466, allocations: 241 kB / 0.8887 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.01466, allocations: 0 / 0.8887 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.01476, allocations: 59.97 kB / 0.8887 GB, free: 11.58 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.86e-06/0.01477, allocations: 4 kB / 0.8887 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.01478, allocations: 11.98 kB / 0.8887 GB, free: 11.56 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.01479, allocations: 4 kB / 0.8887 GB, free: 11.56 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.01479, allocations: 3.938 kB / 0.8887 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003235/0.01511, allocations: 330 kB / 0.8891 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.653e-05/0.0152, allocations: 71.72 kB / 0.8891 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.01e-05/0.01523, allocations: 4 kB / 0.8891 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.891e-05/0.01531, allocations: 15.98 kB / 0.8891 GB, free: 11.12 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.723e-05/0.01537, allocations: 27.95 kB / 0.8892 GB, free: 11.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.01538, allocations: 16 kB / 0.8892 GB, free: 11.08 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001554/0.01554, allocations: 241.2 kB / 0.8894 GB, free: 10.85 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01554, allocations: 0 / 0.8894 GB, free: 10.85 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002411/0.01578, allocations: 79.86 kB / 0.8895 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.000853/0.01663, allocations: 492.2 kB / 0.89 GB, free: 10.47 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003088/0.01694, allocations: 223.8 kB / 0.8902 GB, free: 10.25 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.01694, allocations: 0 / 0.8902 GB, free: 10.25 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001285/0.01707, allocations: 124.4 kB / 0.8903 GB, free: 10.13 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002082/0.01728, allocations: 45.94 kB / 0.8903 GB, free: 10.09 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000641/0.01792, allocations: 0.5216 MB / 0.8908 GB, free: 9.539 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001132/0.01803, allocations: 150.9 kB / 0.891 GB, free: 9.371 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002035/0.01824, allocations: 146.8 kB / 0.8911 GB, free: 9.223 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.094e-05/0.01831, allocations: 44.48 kB / 0.8912 GB, free: 9.18 MB / 0.8542 GB Notification: Performance of SimCode: time 8.22e-07/0.01831, allocations: 0 / 0.8912 GB, free: 9.18 MB / 0.8542 GB Notification: Performance of Templates: time 0.005719/0.02403, allocations: 3.507 MB / 0.8946 GB, free: 5.711 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 -s cvode -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: 5.225349729880691]