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.0009196/0.0009196, allocations: 81.86 kB / 20.68 MB, free: 3.816 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.0009395/0.0009395, allocations: 181 kB / 24.09 MB, free: 416 kB / 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.9739/0.9739, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.734/1.734, allocations: 359 MB / 0.6055 GB, free: 10.88 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.793e-06/1.793e-06, allocations: 0 / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.485e-05/1.664e-05, allocations: 4.844 kB / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.001993/0.00201, allocations: 1.719 MB / 0.7893 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001226/0.003236, allocations: 1.414 MB / 0.7906 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.15e-05/0.003297, allocations: 1.219 kB / 0.7906 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001843/0.003482, allocations: 23.73 kB / 0.7907 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003036/0.003785, allocations: 116.1 kB / 0.7908 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002199/0.004005, allocations: 152.4 kB / 0.7909 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002164/0.004222, allocations: 262.1 kB / 0.7912 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.881e-05/0.0043, allocations: 13.58 kB / 0.7912 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02663/0.03093, allocations: 10.46 MB / 0.8014 GB, free: 1.746 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000121/0.03105, allocations: 77.36 kB / 0.8015 GB, free: 1.672 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.728e-05/0.03109, allocations: 23.94 kB / 0.8015 GB, free: 1.648 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00012/0.03121, allocations: 59.91 kB / 0.8015 GB, free: 1.59 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.137e-05/0.03129, allocations: 83.8 kB / 0.8016 GB, free: 1.508 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.479e-05/0.03137, allocations: 75.77 kB / 0.8017 GB, free: 1.434 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003141/0.03168, allocations: 243 kB / 0.8019 GB, free: 1.195 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.03168, allocations: 0 / 0.8019 GB, free: 1.195 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.91e-07/0.03168, allocations: 0 / 0.8019 GB, free: 1.195 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.03169, allocations: 0 / 0.8019 GB, free: 1.195 MB / 0.7448 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.0006116/0.0323, allocations: 0.5823 MB / 0.8025 GB, free: 0.5742 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.03234, allocations: 12.03 kB / 0.8025 GB, free: 0.5625 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.436e-05/0.03241, allocations: 44.69 kB / 0.8026 GB, free: 0.5195 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002508/0.03266, allocations: 242.2 kB / 0.8028 GB, free: 264 kB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.03268, allocations: 16.69 kB / 0.8028 GB, free: 248 kB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.78e-05/0.03271, allocations: 24.38 kB / 0.8028 GB, free: 224 kB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002561/0.03297, allocations: 261.8 kB / 0.8031 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.03298, allocations: 4.125 kB / 0.8031 GB, free: 15.92 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.03299, allocations: 8.125 kB / 0.8031 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.033, allocations: 4 kB / 0.8031 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005715/0.03357, allocations: 0.5618 MB / 0.8036 GB, free: 15.35 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006129/0.03418, allocations: 472.2 kB / 0.8041 GB, free: 14.86 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001846/0.03437, allocations: 133.8 kB / 0.8042 GB, free: 14.71 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.433e-05/0.03443, allocations: 52.2 kB / 0.8043 GB, free: 14.66 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 5.029e-05/0.03448, allocations: 40.06 kB / 0.8043 GB, free: 14.62 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001796/0.03466, allocations: 160.8 kB / 0.8045 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=34): time 1.502e-06/0.03466, allocations: 0 / 0.8045 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of matching and sorting (n=34): time 0.0003611/0.03502, allocations: 237.3 kB / 0.8047 GB, free: 14.21 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/0.03507, allocations: 110.8 kB / 0.8048 GB, free: 14.07 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/0.03524, allocations: 272.2 kB / 0.8051 GB, free: 13.79 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/0.03526, allocations: 37.7 kB / 0.8051 GB, free: 13.75 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 7.882e-05/0.03534, allocations: 171.4 kB / 0.8053 GB, free: 13.58 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 8.749e-05/0.03543, allocations: 123 kB / 0.8054 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.234e-05/0.03551, allocations: 75.33 kB / 0.8054 GB, free: 13.38 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.03565, allocations: 0.5235 MB / 0.806 GB, free: 12.84 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.608e-05/0.0357, allocations: 35.97 kB / 0.806 GB, free: 12.8 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/0.03582, allocations: 135.2 kB / 0.8061 GB, free: 12.65 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000157/0.03597, allocations: 117.8 kB / 0.8062 GB, free: 12.53 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.03598, allocations: 3.938 kB / 0.8062 GB, free: 12.53 MB / 0.7605 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002513/0.03623, allocations: 197.3 kB / 0.8064 GB, free: 12.33 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.03624, allocations: 4 kB / 0.8064 GB, free: 12.32 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.03624, allocations: 0 / 0.8064 GB, free: 12.32 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.03625, allocations: 4 kB / 0.8064 GB, free: 12.32 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/0.03642, allocations: 59.91 kB / 0.8065 GB, free: 12.26 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.03642, allocations: 4.016 kB / 0.8065 GB, free: 12.26 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.69e-05/0.0365, allocations: 31.83 kB / 0.8065 GB, free: 12.23 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/0.03652, allocations: 12 kB / 0.8065 GB, free: 12.21 MB / 0.7605 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 9.745e-05/0.03661, allocations: 176.4 kB / 0.8067 GB, free: 12.03 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.888e-05/0.03666, allocations: 39.81 kB / 0.8067 GB, free: 11.99 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003857/0.03705, allocations: 289.9 kB / 0.807 GB, free: 11.71 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.03705, allocations: 4 kB / 0.807 GB, free: 11.7 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.03705, allocations: 0 / 0.807 GB, free: 11.7 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.03706, allocations: 3.984 kB / 0.807 GB, free: 11.7 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001823/0.03724, allocations: 196.9 kB / 0.8072 GB, free: 11.48 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.03724, allocations: 0 / 0.8072 GB, free: 11.48 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001206/0.03736, allocations: 55.97 kB / 0.8073 GB, free: 11.43 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.03737, allocations: 7.938 kB / 0.8073 GB, free: 11.42 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.03738, allocations: 15.98 kB / 0.8073 GB, free: 11.4 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.03739, allocations: 3.938 kB / 0.8073 GB, free: 11.4 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.03739, allocations: 0 / 0.8073 GB, free: 11.4 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002642/0.03765, allocations: 249.4 kB / 0.8075 GB, free: 11.13 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 9.835e-05/0.03775, allocations: 71.62 kB / 0.8076 GB, free: 11.06 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.687e-05/0.03778, allocations: 7.984 kB / 0.8076 GB, free: 11.05 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.081e-05/0.03785, allocations: 15.98 kB / 0.8076 GB, free: 11.04 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.251e-05/0.03789, allocations: 23.95 kB / 0.8076 GB, free: 11.01 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/0.0379, allocations: 11.98 kB / 0.8076 GB, free: 11 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 9.183e-05/0.038, allocations: 189.1 kB / 0.8078 GB, free: 10.82 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8e-08/0.038, allocations: 4 kB / 0.8078 GB, free: 10.81 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002312/0.03823, allocations: 51.98 kB / 0.8079 GB, free: 10.76 MB / 0.7605 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.0007424/0.03897, allocations: 346.3 kB / 0.8082 GB, free: 10.54 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0002091/0.03918, allocations: 139.3 kB / 0.8083 GB, free: 10.39 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.03918, allocations: 0 / 0.8083 GB, free: 10.39 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001065/0.03929, allocations: 96 kB / 0.8084 GB, free: 10.3 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002084/0.0395, allocations: 52.34 kB / 0.8085 GB, free: 10.25 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007618/0.04026, allocations: 431.3 kB / 0.8089 GB, free: 9.793 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.653e-05/0.04031, allocations: 93.98 kB / 0.809 GB, free: 9.676 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001495/0.04046, allocations: 78.97 kB / 0.8091 GB, free: 9.598 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001785/0.04064, allocations: 150.1 kB / 0.8092 GB, free: 9.449 MB / 0.7605 GB Notification: Performance of SimCode: time 6.61e-07/0.04064, allocations: 4 kB / 0.8092 GB, free: 9.445 MB / 0.7605 GB Notification: Performance of Templates: time 0.005543/0.04619, allocations: 3.155 MB / 0.8123 GB, free: 6.312 MB / 0.7605 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.962364052888006]