Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001879/0.001879, allocations: 79.7 kB / 20.23 MB, free: 4.191 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.002031/0.002031, allocations: 157.3 kB / 23.55 MB, free: 0.8789 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.619/1.619, allocations: 177.1 MB / 203.9 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.053/3.053, allocations: 377.8 MB / 0.6232 GB, free: 8.535 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.8108 GB, free: 2.098 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.93e-05/3.098e-05, allocations: 7.312 kB / 0.8108 GB, free: 2.09 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.00337/0.003401, allocations: 1.705 MB / 0.8125 GB, free: 408 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002373/0.005773, allocations: 1.404 MB / 0.8139 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.719e-05/0.005841, allocations: 4 kB / 0.8139 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0002394/0.00608, allocations: 27.72 kB / 0.8139 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0004325/0.006513, allocations: 112.4 kB / 0.814 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003862/0.006899, allocations: 140 kB / 0.8141 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003686/0.007267, allocations: 275 kB / 0.8144 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.007378, allocations: 17.58 kB / 0.8144 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001816/0.00756, allocations: 119.8 kB / 0.8145 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002259/0.007786, allocations: 87.75 kB / 0.8146 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.174e-05/0.007837, allocations: 20.53 kB / 0.8146 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002397/0.008077, allocations: 123.8 kB / 0.8147 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001394/0.008216, allocations: 88.5 kB / 0.8148 GB, free: 14 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001283/0.008345, allocations: 76.28 kB / 0.8149 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005492/0.008894, allocations: 362.8 kB / 0.8152 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.008896, allocations: 1.625 kB / 0.8152 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.162e-06/0.008897, allocations: 0 / 0.8152 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.008903, allocations: 0 / 0.8152 GB, free: 13.57 MB / 0.7761 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.0009934/0.009896, allocations: 0.6014 MB / 0.8158 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.009932, allocations: 12.66 kB / 0.8158 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001143/0.01005, allocations: 41.44 kB / 0.8159 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003804/0.01043, allocations: 223.6 kB / 0.8161 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.497e-05/0.01045, allocations: 13.39 kB / 0.8161 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.951e-05/0.01049, allocations: 16.38 kB / 0.8161 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004921/0.01098, allocations: 327.4 kB / 0.8164 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.01099, allocations: 4.188 kB / 0.8164 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.542e-05/0.01102, allocations: 8.125 kB / 0.8164 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.01103, allocations: 5.375 kB / 0.8165 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001064/0.01209, allocations: 0.6595 MB / 0.8171 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00131/0.0134, allocations: 0.5442 MB / 0.8176 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004671/0.01387, allocations: 189.3 kB / 0.8178 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001554/0.01402, allocations: 76.22 kB / 0.8179 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.203e-05/0.01408, allocations: 16.27 kB / 0.8179 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004049/0.01448, allocations: 200.1 kB / 0.8181 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=34): time 2.023e-06/0.01448, allocations: 0 / 0.8181 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of matching and sorting (n=34): time 0.0007954/0.01528, allocations: 317.3 kB / 0.8184 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001218/0.0154, allocations: 136.5 kB / 0.8185 GB, free: 10 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006165/0.01602, allocations: 332.3 kB / 0.8188 GB, free: 9.66 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.24e-05/0.01606, allocations: 36.77 kB / 0.8189 GB, free: 9.621 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001766/0.01624, allocations: 187.3 kB / 0.8191 GB, free: 9.43 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001418/0.01638, allocations: 123 kB / 0.8192 GB, free: 9.309 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001262/0.0165, allocations: 75.34 kB / 0.8192 GB, free: 9.227 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003723/0.01688, allocations: 0.5312 MB / 0.8198 GB, free: 8.684 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.01703, allocations: 67.95 kB / 0.8198 GB, free: 8.617 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002739/0.0173, allocations: 197.3 kB / 0.82 GB, free: 8.391 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003305/0.01763, allocations: 169.2 kB / 0.8202 GB, free: 8.223 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.01764, allocations: 0 / 0.8202 GB, free: 8.223 MB / 0.7761 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005089/0.01815, allocations: 254.7 kB / 0.8204 GB, free: 7.969 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.01816, allocations: 4 kB / 0.8204 GB, free: 7.965 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.738e-06/0.01817, allocations: 0 / 0.8204 GB, free: 7.965 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.01818, allocations: 4.625 kB / 0.8204 GB, free: 7.961 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002502/0.01843, allocations: 63.91 kB / 0.8205 GB, free: 7.898 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.01844, allocations: 0.5625 kB / 0.8205 GB, free: 7.898 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001428/0.01858, allocations: 32.55 kB / 0.8205 GB, free: 7.867 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.153e-05/0.01861, allocations: 12 kB / 0.8205 GB, free: 7.855 MB / 0.7761 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.0001717/0.01879, allocations: 181.6 kB / 0.8207 GB, free: 7.668 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.443e-05/0.01887, allocations: 43.8 kB / 0.8207 GB, free: 7.625 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007187/0.01959, allocations: 337.3 kB / 0.8211 GB, free: 7.297 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.0196, allocations: 8.922 kB / 0.8211 GB, free: 7.289 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.0196, allocations: 48 / 0.8211 GB, free: 7.289 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.01961, allocations: 5.203 kB / 0.8211 GB, free: 7.285 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003388/0.01995, allocations: 256.4 kB / 0.8213 GB, free: 7 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.01995, allocations: 0 / 0.8213 GB, free: 7 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001978/0.02015, allocations: 55.91 kB / 0.8214 GB, free: 6.945 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.02015, allocations: 4.844 kB / 0.8214 GB, free: 6.941 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.076e-05/0.02017, allocations: 8 kB / 0.8214 GB, free: 6.934 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.02017, allocations: 0.7188 kB / 0.8214 GB, free: 6.934 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.02017, allocations: 0 / 0.8214 GB, free: 6.934 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006588/0.02083, allocations: 314.8 kB / 0.8217 GB, free: 6.605 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001643/0.021, allocations: 71.69 kB / 0.8218 GB, free: 6.535 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.332e-05/0.02104, allocations: 8 kB / 0.8218 GB, free: 6.527 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.02118, allocations: 13.02 kB / 0.8218 GB, free: 6.516 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.219e-05/0.02125, allocations: 31.89 kB / 0.8218 GB, free: 6.484 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.497e-05/0.02127, allocations: 13.11 kB / 0.8218 GB, free: 6.473 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002329/0.02151, allocations: 233.1 kB / 0.822 GB, free: 6.25 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.02151, allocations: 3.938 kB / 0.822 GB, free: 6.246 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003278/0.02183, allocations: 77 kB / 0.8221 GB, free: 6.172 MB / 0.7761 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.002957/0.02479, allocations: 496.9 kB / 0.8226 GB, free: 5.879 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004385/0.02523, allocations: 211.4 kB / 0.8228 GB, free: 5.668 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.02523, allocations: 0 / 0.8228 GB, free: 5.668 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002116/0.02544, allocations: 115.6 kB / 0.8229 GB, free: 5.551 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/0.02574, allocations: 52.39 kB / 0.823 GB, free: 5.5 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008446/0.02658, allocations: 456.2 kB / 0.8234 GB, free: 5.027 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001699/0.02675, allocations: 146.9 kB / 0.8235 GB, free: 4.859 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.000328/0.02708, allocations: 138.9 kB / 0.8237 GB, free: 4.723 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.02718, allocations: 48.47 kB / 0.8237 GB, free: 4.676 MB / 0.7761 GB Notification: Performance of SimCode: time 6.51e-07/0.02718, allocations: 0 / 0.8237 GB, free: 4.676 MB / 0.7761 GB Notification: Performance of Templates: time 0.009046/0.03623, allocations: 3.5 MB / 0.8271 GB, free: 1.211 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.32832187099848]