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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|chePre.PIn|chePre.pAtm",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 104.6 kB / 16.35 MB, free: 5.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 192.3 kB / 17.29 MB, free: 5.527 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.519/2.519, allocations: 442.6 MB / 0.7165 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 68.41 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3326/0.334, allocations: 153 MB / 1.027 GB, free: 2.07 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.00327/0.3374, allocations: 1.667 MB / 1.028 GB, free: 408 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001895/0.3393, allocations: 1.179 MB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.509e-05/0.3394, allocations: 4 kB / 1.03 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002447/0.3397, allocations: 19.8 kB / 1.03 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002916/0.34, allocations: 63.69 kB / 1.03 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004354/0.3404, allocations: 151.2 kB / 1.03 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003366/0.3408, allocations: 253.5 kB / 1.03 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.3409, allocations: 19.98 kB / 1.03 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.341, allocations: 91.8 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002286/0.3412, allocations: 95.66 kB / 1.03 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.718e-05/0.3413, allocations: 20 kB / 1.03 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000145/0.3414, allocations: 75.97 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.000134/0.3416, allocations: 83.73 kB / 1.03 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001222/0.3417, allocations: 107.3 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000378/0.3421, allocations: 291 kB / 1.031 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.3421, allocations: 4 kB / 1.031 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.883e-06/0.3421, allocations: 4 kB / 1.031 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.766e-06/0.3421, allocations: 0 / 1.031 GB, free: 13.95 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0008443/0.343, allocations: 0.5383 MB / 1.031 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.343, allocations: 8.031 kB / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.957e-05/0.3431, allocations: 24.66 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003426/0.3435, allocations: 268.8 kB / 1.032 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/0.3435, allocations: 12.38 kB / 1.032 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.154e-05/0.3435, allocations: 20.31 kB / 1.032 GB, free: 13 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000373/0.3439, allocations: 220.9 kB / 1.032 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.3439, allocations: 0 / 1.032 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.359e-05/0.3439, allocations: 8 kB / 1.032 GB, free: 12.76 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.344, allocations: 4 kB / 1.032 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009453/0.3449, allocations: 0.7373 MB / 1.033 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009426/0.3459, allocations: 0.578 MB / 1.033 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003651/0.3462, allocations: 224 kB / 1.033 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001695/0.3464, allocations: 101.6 kB / 1.033 GB, free: 11.06 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 4.877e-05/0.3465, allocations: 15.97 kB / 1.033 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003661/0.3468, allocations: 178 kB / 1.034 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=33): time 1.613e-06/0.3469, allocations: 0 / 1.034 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of matching and sorting (n=33): time 0.0007002/0.3476, allocations: 366.8 kB / 1.034 GB, free: 10.49 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001186/0.3477, allocations: 136.5 kB / 1.034 GB, free: 10.33 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003173/0.348, allocations: 304.9 kB / 1.034 GB, free: 10.02 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.758e-05/0.3481, allocations: 33.7 kB / 1.034 GB, free: 9.977 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.536e-05/0.3482, allocations: 124.7 kB / 1.034 GB, free: 9.852 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001032/0.3483, allocations: 114.4 kB / 1.035 GB, free: 9.738 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.618e-05/0.3484, allocations: 61.69 kB / 1.035 GB, free: 9.672 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.3486, allocations: 338.8 kB / 1.035 GB, free: 9.332 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001496/0.3487, allocations: 83.95 kB / 1.035 GB, free: 9.25 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00018/0.3489, allocations: 124.5 kB / 1.035 GB, free: 9.117 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003149/0.3492, allocations: 205.2 kB / 1.035 GB, free: 8.914 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3492, allocations: 0 / 1.035 GB, free: 8.914 MB / 0.8106 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004245/0.3497, allocations: 269.3 kB / 1.036 GB, free: 8.645 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.923e-05/0.3497, allocations: 7.984 kB / 1.036 GB, free: 8.637 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.3497, allocations: 3.938 kB / 1.036 GB, free: 8.633 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.3497, allocations: 4 kB / 1.036 GB, free: 8.629 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002412/0.35, allocations: 63.84 kB / 1.036 GB, free: 8.566 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.35, allocations: 4 kB / 1.036 GB, free: 8.562 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001566/0.3502, allocations: 31.77 kB / 1.036 GB, free: 8.531 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.608e-05/0.3502, allocations: 12 kB / 1.036 GB, free: 8.52 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (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 (34): * Single equations (assignments): 34 * 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.0001596/0.3504, allocations: 161.8 kB / 1.036 GB, free: 8.352 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.047e-05/0.3504, allocations: 27.62 kB / 1.036 GB, free: 8.324 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006603/0.3511, allocations: 380.9 kB / 1.036 GB, free: 7.945 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.3511, allocations: 4 kB / 1.036 GB, free: 7.941 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.3511, allocations: 0 / 1.036 GB, free: 7.941 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.323e-06/0.3511, allocations: 7.922 kB / 1.036 GB, free: 7.934 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003213/0.3514, allocations: 325.3 kB / 1.037 GB, free: 7.566 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.3515, allocations: 4 kB / 1.037 GB, free: 7.562 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001607/0.3516, allocations: 55.91 kB / 1.037 GB, free: 7.508 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.3516, allocations: 4.031 kB / 1.037 GB, free: 7.504 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.433e-05/0.3517, allocations: 11.98 kB / 1.037 GB, free: 7.492 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.74e-06/0.3517, allocations: 4 kB / 1.037 GB, free: 7.488 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3517, allocations: 0 / 1.037 GB, free: 7.488 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004681/0.3521, allocations: 313.8 kB / 1.037 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001425/0.3523, allocations: 140.7 kB / 1.037 GB, free: 7.008 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.669e-05/0.3524, allocations: 16 kB / 1.037 GB, free: 6.992 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.3525, allocations: 11.98 kB / 1.037 GB, free: 6.98 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.424e-05/0.3526, allocations: 27.91 kB / 1.037 GB, free: 6.953 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.86e-05/0.3526, allocations: 12 kB / 1.037 GB, free: 6.941 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002017/0.3528, allocations: 236.4 kB / 1.037 GB, free: 6.715 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3528, allocations: 3.938 kB / 1.037 GB, free: 6.711 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000296/0.3531, allocations: 59.84 kB / 1.037 GB, free: 6.652 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0009695/0.3541, allocations: 416 kB / 1.038 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003963/0.3545, allocations: 220.3 kB / 1.038 GB, free: 6.168 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.3545, allocations: 0 / 1.038 GB, free: 6.168 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001922/0.3547, allocations: 131.8 kB / 1.038 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002678/0.355, allocations: 33.47 kB / 1.038 GB, free: 6.004 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008305/0.3559, allocations: 0.498 MB / 1.039 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003287/0.3562, allocations: 0.7617 MB / 1.039 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0003507/0.3566, allocations: 142.9 kB / 1.04 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.844e-05/0.3566, allocations: 39.42 kB / 1.04 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of SimCode: time 2.71e-07/0.3566, allocations: 0 / 1.04 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of Templates: time 0.006688/0.3633, allocations: 3.027 MB / 1.043 GB, free: 1.516 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.makefile (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=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches