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.00134/0.00134, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.0009935/0.0009935, allocations: 169.3 kB / 24.86 MB, free: 8.836 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.9938/0.9938, allocations: 177.2 MB / 205.3 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] 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 1.987/1.987, allocations: 377.9 MB / 0.6247 GB, free: 8.367 MB / 0.5886 GB " [Timeout remaining time 177] 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.783e-06/1.783e-06, allocations: 1.094 kB / 0.8128 GB, free: 1.418 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.038e-05/2.216e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.414 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002436/0.002458, allocations: 1.721 MB / 0.8145 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001393/0.003852, allocations: 1.415 MB / 0.8159 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.672e-05/0.003919, allocations: 0 / 0.8159 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0002118/0.00413, allocations: 28.64 kB / 0.8159 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003169/0.004447, allocations: 123.9 kB / 0.816 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003203/0.004768, allocations: 144.8 kB / 0.8161 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003195/0.005087, allocations: 265.4 kB / 0.8164 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.322e-05/0.00518, allocations: 18.3 kB / 0.8164 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02732/0.0325, allocations: 10.45 MB / 0.8266 GB, free: 7.02 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001556/0.03266, allocations: 80.94 kB / 0.8267 GB, free: 6.941 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.369e-05/0.03269, allocations: 16 kB / 0.8267 GB, free: 6.926 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001478/0.03284, allocations: 59.92 kB / 0.8268 GB, free: 6.867 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.811e-05/0.03293, allocations: 88.64 kB / 0.8268 GB, free: 6.781 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 7.596e-05/0.033, allocations: 67.77 kB / 0.8269 GB, free: 6.715 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003876/0.03339, allocations: 250.6 kB / 0.8271 GB, free: 6.473 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.0334, allocations: 0 / 0.8271 GB, free: 6.473 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.823e-06/0.0334, allocations: 0 / 0.8271 GB, free: 6.473 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.0334, allocations: 0 / 0.8271 GB, free: 6.473 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.0007814/0.03418, allocations: 0.5784 MB / 0.8277 GB, free: 5.852 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.03423, allocations: 8.031 kB / 0.8277 GB, free: 5.844 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.931e-05/0.03433, allocations: 48.75 kB / 0.8278 GB, free: 5.797 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003315/0.03466, allocations: 250.2 kB / 0.828 GB, free: 5.523 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.427e-05/0.03468, allocations: 12.7 kB / 0.828 GB, free: 5.512 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.159e-05/0.03471, allocations: 21.06 kB / 0.828 GB, free: 5.492 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003116/0.03502, allocations: 257.8 kB / 0.8283 GB, free: 5.203 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.03504, allocations: 1.844 kB / 0.8283 GB, free: 5.203 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.537e-05/0.03506, allocations: 12.12 kB / 0.8283 GB, free: 5.191 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.03507, allocations: 4 kB / 0.8283 GB, free: 5.188 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000713/0.03578, allocations: 0.5618 MB / 0.8289 GB, free: 4.625 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007918/0.03657, allocations: 468.7 kB / 0.8293 GB, free: 4.141 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002491/0.03682, allocations: 137.3 kB / 0.8294 GB, free: 3.996 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.456e-05/0.03688, allocations: 52.2 kB / 0.8295 GB, free: 3.941 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.912e-05/0.03691, allocations: 16.27 kB / 0.8295 GB, free: 3.926 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001647/0.03707, allocations: 168.7 kB / 0.8297 GB, free: 3.742 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=34): time 2.264e-06/0.03707, allocations: 0 / 0.8297 GB, free: 3.742 MB / 0.7761 GB Notification: Performance of matching and sorting (n=34): time 0.0003116/0.03739, allocations: 235.3 kB / 0.8299 GB, free: 3.508 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.317e-05/0.03744, allocations: 110.8 kB / 0.83 GB, free: 3.375 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.03758, allocations: 272.2 kB / 0.8302 GB, free: 3.098 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.0376, allocations: 33.7 kB / 0.8303 GB, free: 3.059 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.319e-05/0.03767, allocations: 187.4 kB / 0.8305 GB, free: 2.871 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 7.67e-05/0.03775, allocations: 115 kB / 0.8306 GB, free: 2.758 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.739e-05/0.03782, allocations: 71.33 kB / 0.8306 GB, free: 2.68 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.03795, allocations: 0.5274 MB / 0.8311 GB, free: 2.141 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.645e-05/0.038, allocations: 31.97 kB / 0.8312 GB, free: 2.109 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.613e-05/0.03809, allocations: 135.8 kB / 0.8313 GB, free: 1.953 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001227/0.03821, allocations: 117.1 kB / 0.8314 GB, free: 1.836 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.03822, allocations: 3.938 kB / 0.8314 GB, free: 1.832 MB / 0.7761 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000221/0.03844, allocations: 197.3 kB / 0.8316 GB, free: 1.633 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.03845, allocations: 8 kB / 0.8316 GB, free: 1.625 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.03846, allocations: 0 / 0.8316 GB, free: 1.625 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.03847, allocations: 4.031 kB / 0.8316 GB, free: 1.621 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.03861, allocations: 59.91 kB / 0.8317 GB, free: 1.562 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.03861, allocations: 4 kB / 0.8317 GB, free: 1.559 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.667e-05/0.03869, allocations: 27.83 kB / 0.8317 GB, free: 1.531 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.75e-05/0.03871, allocations: 15.98 kB / 0.8317 GB, free: 1.516 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.0001025/0.03881, allocations: 172.5 kB / 0.8319 GB, free: 1.336 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.954e-05/0.03885, allocations: 39.81 kB / 0.8319 GB, free: 1.297 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003225/0.03917, allocations: 288.9 kB / 0.8322 GB, free: 1.008 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.03917, allocations: 4 kB / 0.8322 GB, free: 1.004 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.03918, allocations: 0 / 0.8322 GB, free: 1.004 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.03918, allocations: 3.984 kB / 0.8322 GB, free: 1 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001559/0.03934, allocations: 189 kB / 0.8324 GB, free: 0.7891 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.03934, allocations: 8 kB / 0.8324 GB, free: 0.7812 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.646e-05/0.03944, allocations: 55.91 kB / 0.8325 GB, free: 0.7266 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.03944, allocations: 7.938 kB / 0.8325 GB, free: 0.7188 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.03945, allocations: 11.98 kB / 0.8325 GB, free: 0.707 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.03945, allocations: 0 / 0.8325 GB, free: 0.707 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.03945, allocations: 0 / 0.8325 GB, free: 0.707 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002255/0.03968, allocations: 246 kB / 0.8327 GB, free: 456 kB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.764e-05/0.03976, allocations: 71.62 kB / 0.8328 GB, free: 384 kB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.716e-05/0.03978, allocations: 11.98 kB / 0.8328 GB, free: 372 kB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.027e-05/0.03984, allocations: 8 kB / 0.8328 GB, free: 364 kB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.845e-05/0.03988, allocations: 31.95 kB / 0.8328 GB, free: 332 kB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.0399, allocations: 11.92 kB / 0.8328 GB, free: 320 kB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.384e-05/0.03998, allocations: 193.1 kB / 0.833 GB, free: 128 kB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.03998, allocations: 0 / 0.833 GB, free: 128 kB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001847/0.04016, allocations: 48 kB / 0.8331 GB, free: 80 kB / 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.000732/0.0409, allocations: 352.4 kB / 0.8334 GB, free: 15.84 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.000197/0.04109, allocations: 143.8 kB / 0.8335 GB, free: 15.7 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.0411, allocations: 8 kB / 0.8335 GB, free: 15.69 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 8.344e-05/0.04118, allocations: 87.5 kB / 0.8336 GB, free: 15.6 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001865/0.04137, allocations: 48.41 kB / 0.8337 GB, free: 15.55 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006874/0.04205, allocations: 442.6 kB / 0.8341 GB, free: 15.09 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.249e-05/0.04211, allocations: 94.05 kB / 0.8342 GB, free: 14.98 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001315/0.04224, allocations: 74.95 kB / 0.8343 GB, free: 14.9 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001575/0.04239, allocations: 150.1 kB / 0.8344 GB, free: 14.75 MB / 0.7917 GB Notification: Performance of SimCode: time 5.31e-07/0.0424, allocations: 0 / 0.8344 GB, free: 14.75 MB / 0.7917 GB Notification: Performance of Templates: time 0.005071/0.04747, allocations: 3.211 MB / 0.8375 GB, free: 11.56 MB / 0.7917 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","",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.335384742822498]