Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001387/0.001387, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001467/0.001467, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.9148/0.9148, allocations: 177.2 MB / 203.7 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.36/2.36, allocations: 438.1 MB / 0.682 GB, free: 14.15 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 3.938 kB / 0.8898 GB, free: 9.707 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.604e-05/1.777e-05, allocations: 5.828 kB / 0.8898 GB, free: 9.703 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002007/0.002024, allocations: 1.723 MB / 0.8915 GB, free: 7.969 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0013/0.003324, allocations: 1.399 MB / 0.8928 GB, free: 6.562 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.592e-05/0.00341, allocations: 3.938 kB / 0.8928 GB, free: 6.559 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.000227/0.003637, allocations: 35.7 kB / 0.8929 GB, free: 6.523 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0003723/0.004009, allocations: 123.3 kB / 0.893 GB, free: 6.402 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002938/0.004303, allocations: 139.6 kB / 0.8931 GB, free: 6.266 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002373/0.00454, allocations: 269.4 kB / 0.8934 GB, free: 6 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 8.539e-05/0.004626, allocations: 13.59 kB / 0.8934 GB, free: 5.984 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02411/0.02874, allocations: 9.702 MB / 0.9029 GB, free: 15.68 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.02885, allocations: 71.83 kB / 0.9029 GB, free: 15.61 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 3.128e-05/0.02888, allocations: 20 kB / 0.9029 GB, free: 15.59 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001187/0.029, allocations: 55.92 kB / 0.903 GB, free: 15.54 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 7.56e-05/0.02907, allocations: 87.73 kB / 0.9031 GB, free: 15.45 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 6.88e-05/0.02914, allocations: 71.75 kB / 0.9031 GB, free: 15.38 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002854/0.02943, allocations: 247 kB / 0.9034 GB, free: 15.14 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.02943, allocations: 0 / 0.9034 GB, free: 15.14 MB / 0.8698 GB Notification: Performance of FrontEnd: time 9.82e-07/0.02943, allocations: 0 / 0.9034 GB, free: 15.14 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.02944, allocations: 0 / 0.9034 GB, free: 15.14 MB / 0.8698 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.0005806/0.03002, allocations: 0.5862 MB / 0.904 GB, free: 14.52 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.03006, allocations: 8.625 kB / 0.904 GB, free: 14.51 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.361e-05/0.03012, allocations: 48.67 kB / 0.904 GB, free: 14.46 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002224/0.03034, allocations: 254.2 kB / 0.9043 GB, free: 14.18 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.03036, allocations: 12.7 kB / 0.9043 GB, free: 14.17 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.914e-05/0.03038, allocations: 16.38 kB / 0.9043 GB, free: 14.15 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002059/0.03058, allocations: 261.9 kB / 0.9045 GB, free: 13.86 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.03059, allocations: 4.188 kB / 0.9045 GB, free: 13.86 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.0306, allocations: 8.125 kB / 0.9045 GB, free: 13.85 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.03061, allocations: 4 kB / 0.9045 GB, free: 13.84 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004068/0.03102, allocations: 0.5656 MB / 0.9051 GB, free: 13.28 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005301/0.03155, allocations: 464.2 kB / 0.9055 GB, free: 12.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001636/0.03171, allocations: 137.2 kB / 0.9057 GB, free: 12.65 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.769e-05/0.03177, allocations: 52.78 kB / 0.9057 GB, free: 12.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.295e-05/0.03181, allocations: 36.06 kB / 0.9058 GB, free: 12.56 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000159/0.03197, allocations: 173.3 kB / 0.9059 GB, free: 12.38 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=34): time 1.603e-06/0.03197, allocations: 3.938 kB / 0.9059 GB, free: 12.37 MB / 0.8698 GB Notification: Performance of matching and sorting (n=34): time 0.0002908/0.03226, allocations: 233.3 kB / 0.9061 GB, free: 12.14 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.03231, allocations: 110.8 kB / 0.9063 GB, free: 12 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.03244, allocations: 272.2 kB / 0.9065 GB, free: 11.72 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.03246, allocations: 37.64 kB / 0.9065 GB, free: 11.68 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.5e-05/0.03254, allocations: 183.4 kB / 0.9067 GB, free: 11.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.195e-05/0.0326, allocations: 115 kB / 0.9068 GB, free: 11.38 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.488e-05/0.03266, allocations: 75.28 kB / 0.9069 GB, free: 11.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.03279, allocations: 0.5157 MB / 0.9074 GB, free: 10.77 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.336e-05/0.03283, allocations: 35.97 kB / 0.9074 GB, free: 10.74 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.513e-05/0.03292, allocations: 127.9 kB / 0.9076 GB, free: 10.59 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001189/0.03303, allocations: 120.5 kB / 0.9077 GB, free: 10.47 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.03304, allocations: 7.938 kB / 0.9077 GB, free: 10.46 MB / 0.8698 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0001864/0.03322, allocations: 193.4 kB / 0.9079 GB, free: 10.27 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.03323, allocations: 7.938 kB / 0.9079 GB, free: 10.26 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.03324, allocations: 3.984 kB / 0.9079 GB, free: 10.25 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.03325, allocations: 4 kB / 0.9079 GB, free: 10.25 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.03338, allocations: 63.97 kB / 0.9079 GB, free: 10.19 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.03338, allocations: 7.922 kB / 0.908 GB, free: 10.18 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.18e-05/0.03344, allocations: 23.84 kB / 0.908 GB, free: 10.16 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.03346, allocations: 12.03 kB / 0.908 GB, free: 10.14 MB / 0.8698 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 8.706e-05/0.03354, allocations: 176.5 kB / 0.9082 GB, free: 9.961 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.547e-05/0.03358, allocations: 39.8 kB / 0.9082 GB, free: 9.922 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002917/0.03387, allocations: 286 kB / 0.9085 GB, free: 9.629 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.03387, allocations: 4 kB / 0.9085 GB, free: 9.625 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.03388, allocations: 0 / 0.9085 GB, free: 9.625 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.03388, allocations: 0 / 0.9085 GB, free: 9.625 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001528/0.03403, allocations: 197 kB / 0.9087 GB, free: 9.406 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.03403, allocations: 0 / 0.9087 GB, free: 9.406 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.673e-05/0.03412, allocations: 55.91 kB / 0.9087 GB, free: 9.352 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.03412, allocations: 3.938 kB / 0.9087 GB, free: 9.348 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.03413, allocations: 12 kB / 0.9087 GB, free: 9.336 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.03414, allocations: 4 kB / 0.9087 GB, free: 9.332 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.03414, allocations: 0 / 0.9087 GB, free: 9.332 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002032/0.03434, allocations: 261.6 kB / 0.909 GB, free: 9.055 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.549e-05/0.03441, allocations: 63.67 kB / 0.909 GB, free: 8.992 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.396e-05/0.03443, allocations: 11.94 kB / 0.9091 GB, free: 8.98 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.425e-05/0.03448, allocations: 19.92 kB / 0.9091 GB, free: 8.961 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.427e-05/0.03452, allocations: 19.95 kB / 0.9091 GB, free: 8.941 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.03453, allocations: 12 kB / 0.9091 GB, free: 8.93 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 7.518e-05/0.03461, allocations: 189.1 kB / 0.9093 GB, free: 8.746 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.03461, allocations: 0 / 0.9093 GB, free: 8.746 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001722/0.03478, allocations: 59.95 kB / 0.9093 GB, free: 8.688 MB / 0.8698 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.00064/0.03542, allocations: 346.9 kB / 0.9097 GB, free: 8.465 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001821/0.0356, allocations: 147.6 kB / 0.9098 GB, free: 8.316 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.0356, allocations: 0 / 0.9098 GB, free: 8.316 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 8.401e-05/0.03569, allocations: 87.56 kB / 0.9099 GB, free: 8.227 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001714/0.03586, allocations: 36.48 kB / 0.9099 GB, free: 8.188 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006289/0.03649, allocations: 444 kB / 0.9104 GB, free: 7.727 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.974e-05/0.03654, allocations: 94.05 kB / 0.9104 GB, free: 7.613 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.000117/0.03665, allocations: 74.95 kB / 0.9105 GB, free: 7.539 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001492/0.0368, allocations: 150.1 kB / 0.9107 GB, free: 7.391 MB / 0.8698 GB Notification: Performance of SimCode: time 5.91e-07/0.0368, allocations: 0 / 0.9107 GB, free: 7.391 MB / 0.8698 GB Notification: Performance of Templates: time 0.004514/0.04132, allocations: 3.158 MB / 0.9137 GB, free: 4.258 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.43574181990698]