Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009487/0.0009487, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008528/0.0008528, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8548/0.8548, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.633/1.633, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 0.9517 GB, free: 2.977 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.886e-05/3.079e-05, allocations: 2.281 kB / 0.9517 GB, free: 2.973 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003261/0.003292, allocations: 1.682 MB / 0.9534 GB, free: 1.273 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.00197/0.005262, allocations: 1.367 MB / 0.9547 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.442e-05/0.005356, allocations: 4 kB / 0.9547 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0002685/0.005625, allocations: 27.78 kB / 0.9547 GB, free: 15.87 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0004483/0.006073, allocations: 111.3 kB / 0.9548 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004067/0.00648, allocations: 155.8 kB / 0.955 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0003267/0.006806, allocations: 273.3 kB / 0.9553 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.006926, allocations: 17.58 kB / 0.9553 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001628/0.007089, allocations: 131.8 kB / 0.9554 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001958/0.007285, allocations: 83.83 kB / 0.9555 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 3.743e-05/0.007322, allocations: 16 kB / 0.9555 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002215/0.007544, allocations: 123.8 kB / 0.9556 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.00011/0.007654, allocations: 83.8 kB / 0.9557 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 9.426e-05/0.007748, allocations: 75.73 kB / 0.9558 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0004914/0.008239, allocations: 370.8 kB / 0.9561 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 7.804e-06/0.008247, allocations: 0 / 0.9561 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.623e-06/0.008249, allocations: 0 / 0.9561 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.008255, allocations: 0 / 0.9561 GB, free: 14.45 MB / 0.9167 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.001109/0.009364, allocations: 0.4939 MB / 0.9566 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.009409, allocations: 12.03 kB / 0.9566 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.692e-05/0.009496, allocations: 28.75 kB / 0.9566 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002963/0.009792, allocations: 220.8 kB / 0.9569 GB, free: 13.65 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.422e-05/0.009816, allocations: 16.64 kB / 0.9569 GB, free: 13.63 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.928e-05/0.009845, allocations: 16.38 kB / 0.9569 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004146/0.01026, allocations: 327.2 kB / 0.9572 GB, free: 13.26 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.01027, allocations: 192 / 0.9572 GB, free: 13.26 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.839e-05/0.0103, allocations: 16.12 kB / 0.9572 GB, free: 13.24 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.01031, allocations: 8 kB / 0.9572 GB, free: 13.23 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008589/0.01117, allocations: 0.6829 MB / 0.9579 GB, free: 12.55 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009728/0.01214, allocations: 0.5042 MB / 0.9584 GB, free: 12.02 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003918/0.01253, allocations: 204.8 kB / 0.9586 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001546/0.01269, allocations: 101.4 kB / 0.9587 GB, free: 11.7 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 4.74e-05/0.01273, allocations: 12.27 kB / 0.9587 GB, free: 11.69 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003967/0.01313, allocations: 207.1 kB / 0.9589 GB, free: 11.47 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=34): time 2.675e-06/0.01313, allocations: 0 / 0.9589 GB, free: 11.47 MB / 0.9167 GB Notification: Performance of matching and sorting (n=34): time 0.0006954/0.01383, allocations: 366.7 kB / 0.9592 GB, free: 11.11 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.816e-05/0.01391, allocations: 136.5 kB / 0.9594 GB, free: 10.95 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003226/0.01423, allocations: 317.7 kB / 0.9597 GB, free: 10.62 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.973e-05/0.01426, allocations: 37.7 kB / 0.9597 GB, free: 10.58 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.01436, allocations: 128.7 kB / 0.9598 GB, free: 10.45 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 9.072e-05/0.01445, allocations: 111.1 kB / 0.9599 GB, free: 10.34 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.01456, allocations: 69.67 kB / 0.96 GB, free: 10.27 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.01468, allocations: 346.7 kB / 0.9603 GB, free: 9.922 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001518/0.01483, allocations: 83.89 kB / 0.9604 GB, free: 9.84 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002342/0.01507, allocations: 213.2 kB / 0.9606 GB, free: 9.602 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000353/0.01542, allocations: 214.7 kB / 0.9608 GB, free: 9.391 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.01542, allocations: 0 / 0.9608 GB, free: 9.391 MB / 0.9167 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004681/0.01589, allocations: 281.1 kB / 0.9611 GB, free: 9.109 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.01591, allocations: 8 kB / 0.9611 GB, free: 9.102 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.01592, allocations: 0 / 0.9611 GB, free: 9.102 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.01593, allocations: 4 kB / 0.9611 GB, free: 9.098 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002248/0.01616, allocations: 63.91 kB / 0.9612 GB, free: 9.035 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.01616, allocations: 0 / 0.9612 GB, free: 9.035 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001297/0.01629, allocations: 31.77 kB / 0.9612 GB, free: 9.004 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.312e-05/0.01632, allocations: 11.98 kB / 0.9612 GB, free: 8.992 MB / 0.9167 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.0001555/0.01647, allocations: 165.7 kB / 0.9614 GB, free: 8.82 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.284e-05/0.01652, allocations: 27.86 kB / 0.9614 GB, free: 8.793 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006602/0.01718, allocations: 393 kB / 0.9618 GB, free: 8.402 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.01719, allocations: 4 kB / 0.9618 GB, free: 8.398 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.0172, allocations: 0 / 0.9618 GB, free: 8.398 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.0172, allocations: 7.984 kB / 0.9618 GB, free: 8.391 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002673/0.01747, allocations: 241 kB / 0.962 GB, free: 8.125 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.01747, allocations: 0 / 0.962 GB, free: 8.125 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001725/0.01765, allocations: 55.91 kB / 0.962 GB, free: 8.07 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.01765, allocations: 8 kB / 0.9621 GB, free: 8.062 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.864e-05/0.01767, allocations: 11.98 kB / 0.9621 GB, free: 8.051 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.01767, allocations: 0 / 0.9621 GB, free: 8.051 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.01768, allocations: 0 / 0.9621 GB, free: 8.051 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004824/0.01816, allocations: 322 kB / 0.9624 GB, free: 7.715 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001339/0.01829, allocations: 71.72 kB / 0.9624 GB, free: 7.645 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.974e-05/0.01833, allocations: 8 kB / 0.9624 GB, free: 7.637 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.01846, allocations: 19.98 kB / 0.9625 GB, free: 7.617 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.184e-05/0.01853, allocations: 23.95 kB / 0.9625 GB, free: 7.594 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.249e-05/0.01855, allocations: 8 kB / 0.9625 GB, free: 7.586 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002221/0.01877, allocations: 249.1 kB / 0.9627 GB, free: 7.344 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.3e-07/0.01877, allocations: 4 kB / 0.9627 GB, free: 7.34 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0003892/0.01916, allocations: 83.75 kB / 0.9628 GB, free: 7.258 MB / 0.9167 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.001175/0.02033, allocations: 490 kB / 0.9633 GB, free: 6.965 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0004516/0.02079, allocations: 224.3 kB / 0.9635 GB, free: 6.746 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.02079, allocations: 0 / 0.9635 GB, free: 6.746 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001542/0.02095, allocations: 119.8 kB / 0.9636 GB, free: 6.629 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002187/0.02116, allocations: 36.42 kB / 0.9636 GB, free: 6.594 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006814/0.02185, allocations: 0.5556 MB / 0.9642 GB, free: 6.004 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001084/0.02195, allocations: 146.9 kB / 0.9643 GB, free: 5.832 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.105e-05/0.02205, allocations: 56.41 kB / 0.9644 GB, free: 5.777 MB / 0.9167 GB Notification: Performance of SimCode: time 8.11e-07/0.02205, allocations: 4 kB / 0.9644 GB, free: 5.773 MB / 0.9167 GB Notification: Performance of Templates: time 0.005083/0.02713, allocations: 4.736 MB / 0.969 GB, free: 1.051 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 6.563410922884941]