Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001609/0.001609, allocations: 116.4 kB / 17.13 MB, free: 5.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001874/0.001874, allocations: 194.1 kB / 20.08 MB, free: 2.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 225.6 MB / 248.5 MB, free: 3.629 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.578/2.578, allocations: 443.5 MB / 0.7293 GB, free: 14.66 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002164/0.002164, allocations: 71.89 kB / 1.057 GB, free: 2.102 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.3401, allocations: 160.7 MB / 1.214 GB, free: 1.078 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003569/0.3437, allocations: 1.668 MB / 1.216 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002101/0.3458, allocations: 1.188 MB / 1.217 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.711e-05/0.3459, allocations: 0 / 1.217 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002941/0.3462, allocations: 19.86 kB / 1.217 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004016/0.3466, allocations: 67.62 kB / 1.217 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004371/0.347, allocations: 154.2 kB / 1.217 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003389/0.3473, allocations: 249.5 kB / 1.217 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.3475, allocations: 15.94 kB / 1.217 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.3476, allocations: 83.81 kB / 1.217 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000249/0.3478, allocations: 91.77 kB / 1.218 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.37e-05/0.3479, allocations: 16 kB / 1.218 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001587/0.348, allocations: 87.83 kB / 1.218 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.3481, allocations: 83.75 kB / 1.218 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001334/0.3483, allocations: 103.4 kB / 1.218 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004002/0.3487, allocations: 294.8 kB / 1.218 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.3487, allocations: 3.984 kB / 1.218 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.154e-06/0.3487, allocations: 4 kB / 1.218 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.3487, allocations: 0 / 1.218 GB, free: 12.95 MB / 0.9669 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.0009224/0.3496, allocations: 0.538 MB / 1.219 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.3497, allocations: 8.031 kB / 1.219 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001062/0.3498, allocations: 36.73 kB / 1.219 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003238/0.3501, allocations: 268.7 kB / 1.219 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.3501, allocations: 12.38 kB / 1.219 GB, free: 12 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.79e-05/0.3501, allocations: 12.38 kB / 1.219 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004028/0.3505, allocations: 228.8 kB / 1.219 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.3506, allocations: 0 / 1.219 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.561e-05/0.3506, allocations: 8 kB / 1.219 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.3506, allocations: 4 kB / 1.219 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009524/0.3515, allocations: 0.7371 MB / 1.22 GB, free: 11 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001007/0.3525, allocations: 0.5822 MB / 1.22 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003847/0.3529, allocations: 204 kB / 1.221 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001617/0.3531, allocations: 96.75 kB / 1.221 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001212/0.3532, allocations: 19.97 kB / 1.221 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003775/0.3536, allocations: 177.5 kB / 1.221 GB, free: 9.848 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=33): time 1.443e-06/0.3536, allocations: 0 / 1.221 GB, free: 9.848 MB / 0.9669 GB Notification: Performance of matching and sorting (n=33): time 0.0007183/0.3543, allocations: 370.8 kB / 1.221 GB, free: 9.48 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001885/0.3545, allocations: 140.5 kB / 1.221 GB, free: 9.312 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000331/0.3548, allocations: 304.9 kB / 1.222 GB, free: 9.004 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.779e-05/0.3549, allocations: 33.7 kB / 1.222 GB, free: 8.965 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.355, allocations: 124.8 kB / 1.222 GB, free: 8.84 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.000105/0.3551, allocations: 115 kB / 1.222 GB, free: 8.727 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.3552, allocations: 65.69 kB / 1.222 GB, free: 8.656 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001752/0.3554, allocations: 330.8 kB / 1.222 GB, free: 8.324 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001578/0.3555, allocations: 83.95 kB / 1.222 GB, free: 8.242 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002266/0.3557, allocations: 124.5 kB / 1.223 GB, free: 8.109 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003538/0.3561, allocations: 213.2 kB / 1.223 GB, free: 7.898 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3561, allocations: 0 / 1.223 GB, free: 7.898 MB / 0.9669 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004749/0.3566, allocations: 269.4 kB / 1.223 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.3566, allocations: 5.719 kB / 1.223 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.3566, allocations: 0 / 1.223 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.3566, allocations: 7.938 kB / 1.223 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002255/0.3568, allocations: 55.91 kB / 1.223 GB, free: 7.562 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.3568, allocations: 8 kB / 1.223 GB, free: 7.555 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001613/0.357, allocations: 35.7 kB / 1.223 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.59e-05/0.357, allocations: 12 kB / 1.223 GB, free: 7.508 MB / 0.9669 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.0001944/0.3572, allocations: 161.7 kB / 1.223 GB, free: 7.34 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.319e-05/0.3573, allocations: 23.86 kB / 1.223 GB, free: 7.316 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00073/0.358, allocations: 381 kB / 1.224 GB, free: 6.938 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.358, allocations: 4 kB / 1.224 GB, free: 6.934 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.358, allocations: 3.938 kB / 1.224 GB, free: 6.93 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.358, allocations: 3.938 kB / 1.224 GB, free: 6.926 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004056/0.3584, allocations: 333.3 kB / 1.224 GB, free: 6.551 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.3584, allocations: 4 kB / 1.224 GB, free: 6.547 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001752/0.3586, allocations: 55.97 kB / 1.224 GB, free: 6.492 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.3586, allocations: 0 / 1.224 GB, free: 6.492 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.196e-05/0.3586, allocations: 8 kB / 1.224 GB, free: 6.484 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.3586, allocations: 4 kB / 1.224 GB, free: 6.48 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3586, allocations: 7.875 kB / 1.224 GB, free: 6.473 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005199/0.3592, allocations: 321.8 kB / 1.224 GB, free: 6.141 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001516/0.3593, allocations: 136.8 kB / 1.224 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.059e-05/0.3594, allocations: 12 kB / 1.225 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001698/0.3595, allocations: 15.08 kB / 1.225 GB, free: 5.965 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.577e-05/0.3596, allocations: 27.91 kB / 1.225 GB, free: 5.938 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.227e-05/0.3596, allocations: 19.98 kB / 1.225 GB, free: 5.918 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002299/0.3599, allocations: 232.4 kB / 1.225 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3599, allocations: 0 / 1.225 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003194/0.3602, allocations: 59.94 kB / 1.225 GB, free: 5.633 MB / 0.9669 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.001458/0.3616, allocations: 405.2 kB / 1.225 GB, free: 5.387 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000504/0.3621, allocations: 216.3 kB / 1.225 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3621, allocations: 0 / 1.225 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002079/0.3623, allocations: 120.3 kB / 1.226 GB, free: 5.059 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002869/0.3626, allocations: 34.5 kB / 1.226 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/0.3636, allocations: 0.5415 MB / 1.226 GB, free: 4.445 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004246/0.3641, allocations: 0.7617 MB / 1.227 GB, free: 3.656 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.3642, allocations: 51.41 kB / 1.227 GB, free: 3.605 MB / 0.9669 GB Notification: Performance of SimCode: time 8.21e-07/0.3642, allocations: 0 / 1.227 GB, free: 3.605 MB / 0.9669 GB Notification: Performance of Templates: time 0.008736/0.3729, allocations: 4.235 MB / 1.231 GB, free: 15.38 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.makefile [Timeout 300] (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 11.201864927075803]