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.002066/0.002066, allocations: 78.41 kB / 19.18 MB, free: 2.527 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.002481/0.002481, allocations: 169.7 kB / 22.46 MB, free: 5.355 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.561/1.561, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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 2.816/2.816, allocations: 359 MB / 0.6037 GB, free: 14.96 MB / 0.5762 GB " [Timeout remaining time 176] 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.894e-06/1.894e-06, allocations: 0 / 0.951 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.052e-05/3.241e-05, allocations: 2.281 kB / 0.951 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003726/0.003759, allocations: 1.676 MB / 0.9526 GB, free: 9.855 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002362/0.006121, allocations: 1.371 MB / 0.954 GB, free: 8.477 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.006221, allocations: 4 kB / 0.954 GB, free: 8.473 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002828/0.006504, allocations: 35.77 kB / 0.954 GB, free: 8.438 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0006517/0.007156, allocations: 103.4 kB / 0.9541 GB, free: 8.336 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005027/0.007658, allocations: 158.5 kB / 0.9542 GB, free: 8.184 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005261/0.008184, allocations: 269.4 kB / 0.9545 GB, free: 7.922 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001419/0.008326, allocations: 13.59 kB / 0.9545 GB, free: 7.902 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002638/0.00859, allocations: 127.8 kB / 0.9546 GB, free: 7.777 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002531/0.008843, allocations: 83.8 kB / 0.9547 GB, free: 7.695 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.504e-05/0.008908, allocations: 24 kB / 0.9547 GB, free: 7.672 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002968/0.009205, allocations: 123.8 kB / 0.9549 GB, free: 7.551 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001468/0.009352, allocations: 87.73 kB / 0.9549 GB, free: 7.465 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001223/0.009474, allocations: 67.83 kB / 0.955 GB, free: 7.398 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006541/0.01013, allocations: 362.8 kB / 0.9553 GB, free: 7.043 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.01013, allocations: 0 / 0.9553 GB, free: 7.043 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.513e-06/0.01014, allocations: 3.938 kB / 0.9554 GB, free: 7.039 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.138e-05/0.01015, allocations: 0 / 0.9554 GB, free: 7.039 MB / 0.8575 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.001349/0.0115, allocations: 0.4979 MB / 0.9558 GB, free: 6.508 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.01155, allocations: 12.03 kB / 0.9558 GB, free: 6.496 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000141/0.01169, allocations: 28.8 kB / 0.9559 GB, free: 6.469 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004107/0.0121, allocations: 220.7 kB / 0.9561 GB, free: 6.23 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.443e-05/0.01213, allocations: 16.7 kB / 0.9561 GB, free: 6.215 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.052e-05/0.01216, allocations: 12.38 kB / 0.9561 GB, free: 6.203 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000563/0.01273, allocations: 331.2 kB / 0.9564 GB, free: 5.84 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.01274, allocations: 4.188 kB / 0.9564 GB, free: 5.836 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.059e-05/0.01277, allocations: 12.06 kB / 0.9564 GB, free: 5.824 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.01278, allocations: 4 kB / 0.9565 GB, free: 5.82 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009975/0.01378, allocations: 0.6868 MB / 0.9571 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001205/0.01498, allocations: 0.4964 MB / 0.9576 GB, free: 4.605 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005319/0.01551, allocations: 216.8 kB / 0.9578 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001771/0.01569, allocations: 97.31 kB / 0.9579 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.596e-05/0.01579, allocations: 16.27 kB / 0.9579 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005219/0.01631, allocations: 207.2 kB / 0.9581 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=34): time 2.715e-06/0.01631, allocations: 0 / 0.9581 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of matching and sorting (n=34): time 0.0009082/0.01722, allocations: 370.1 kB / 0.9585 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002021/0.01742, allocations: 132.5 kB / 0.9586 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000447/0.01787, allocations: 321.7 kB / 0.9589 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.336e-05/0.01791, allocations: 37.7 kB / 0.9589 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.01803, allocations: 128.7 kB / 0.9591 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.01814, allocations: 115.1 kB / 0.9592 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/0.01826, allocations: 65.69 kB / 0.9592 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001818/0.01844, allocations: 342.8 kB / 0.9596 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001643/0.01861, allocations: 87.94 kB / 0.9596 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002575/0.01886, allocations: 196.5 kB / 0.9598 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003808/0.01924, allocations: 223 kB / 0.96 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.01925, allocations: 0 / 0.96 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005343/0.01978, allocations: 289.1 kB / 0.9603 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.0198, allocations: 4 kB / 0.9603 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.01981, allocations: 4 kB / 0.9603 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.01982, allocations: 0 / 0.9603 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002482/0.02007, allocations: 59.91 kB / 0.9604 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.02008, allocations: 0 / 0.9604 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001712/0.02025, allocations: 38.08 kB / 0.9604 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.846e-05/0.02028, allocations: 11.98 kB / 0.9604 GB, free: 1.57 MB / 0.8575 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.0001901/0.02047, allocations: 165.7 kB / 0.9606 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.543e-05/0.02054, allocations: 23.86 kB / 0.9606 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008836/0.02142, allocations: 381.1 kB / 0.961 GB, free: 1 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.02143, allocations: 4 kB / 0.961 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.02143, allocations: 0 / 0.961 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.02144, allocations: 7.938 kB / 0.961 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004758/0.02191, allocations: 252.9 kB / 0.9612 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.125e-06/0.02192, allocations: 3.938 kB / 0.9612 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001776/0.02209, allocations: 51.97 kB / 0.9613 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.0221, allocations: 0 / 0.9613 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.586e-05/0.02212, allocations: 11.98 kB / 0.9613 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.02213, allocations: 4 kB / 0.9613 GB, free: 0.6406 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.02213, allocations: 7.875 kB / 0.9613 GB, free: 0.6328 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005443/0.02268, allocations: 322 kB / 0.9616 GB, free: 304 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001347/0.02281, allocations: 63.73 kB / 0.9617 GB, free: 240 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.311e-05/0.02287, allocations: 15.98 kB / 0.9617 GB, free: 224 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/0.02303, allocations: 19.98 kB / 0.9617 GB, free: 204 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.535e-05/0.02311, allocations: 23.95 kB / 0.9617 GB, free: 180 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.628e-05/0.02313, allocations: 12 kB / 0.9617 GB, free: 168 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000274/0.02341, allocations: 245.2 kB / 0.962 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.1e-07/0.02341, allocations: 0 / 0.962 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003717/0.02378, allocations: 79.86 kB / 0.9621 GB, free: 15.85 MB / 0.8731 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.001824/0.0256, allocations: 489.6 kB / 0.9625 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004802/0.02608, allocations: 224.3 kB / 0.9627 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.02609, allocations: 0 / 0.9627 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002162/0.0263, allocations: 123.8 kB / 0.9629 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002967/0.0266, allocations: 38.3 kB / 0.9629 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009882/0.02759, allocations: 0.5148 MB / 0.9634 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001954/0.02778, allocations: 150.9 kB / 0.9635 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003548/0.02814, allocations: 150.8 kB / 0.9637 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/0.02825, allocations: 44.48 kB / 0.9637 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of SimCode: time 6.22e-07/0.02826, allocations: 0 / 0.9637 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of Templates: time 0.008934/0.03719, allocations: 3.489 MB / 0.9671 GB, free: 10.83 MB / 0.8731 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: 8.135543841868639]