Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001393/0.001393, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.001596/0.001596, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.366/1.366, allocations: 222.9 MB / 240.9 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.359/2.359, allocations: 390.3 MB / 0.6653 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 64.27 kB / 0.8132 GB, free: 32.98 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2458/0.2471, allocations: 140.4 MB / 0.9503 GB, free: 8.891 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003244/0.2504, allocations: 1.653 MB / 0.9519 GB, free: 7.223 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001807/0.2522, allocations: 1.179 MB / 0.953 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.2523, allocations: 4 kB / 0.953 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002449/0.2526, allocations: 23.84 kB / 0.9531 GB, free: 6.008 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000345/0.253, allocations: 63.62 kB / 0.9531 GB, free: 5.945 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004208/0.2534, allocations: 151.3 kB / 0.9533 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002976/0.2537, allocations: 249.5 kB / 0.9535 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.2538, allocations: 19.98 kB / 0.9535 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001367/0.254, allocations: 83.83 kB / 0.9536 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002351/0.2542, allocations: 91.77 kB / 0.9537 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.671e-05/0.2543, allocations: 20 kB / 0.9537 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000175/0.2545, allocations: 79.91 kB / 0.9538 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.764e-05/0.2546, allocations: 79.75 kB / 0.9539 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001151/0.2547, allocations: 103.4 kB / 0.954 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003848/0.2551, allocations: 295.3 kB / 0.9542 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2551, allocations: 0 / 0.9542 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2551, allocations: 0 / 0.9542 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.654e-06/0.2551, allocations: 0 / 0.9542 GB, free: 4.801 MB / 0.7325 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.0007665/0.2559, allocations: 0.5306 MB / 0.9548 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.2559, allocations: 8.031 kB / 0.9548 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.422e-05/0.256, allocations: 36.48 kB / 0.9548 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002928/0.2563, allocations: 264.9 kB / 0.9551 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.2564, allocations: 12.38 kB / 0.9551 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.089e-05/0.2564, allocations: 20.38 kB / 0.9551 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003639/0.2568, allocations: 224.5 kB / 0.9553 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.2568, allocations: 0 / 0.9553 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.937e-05/0.2568, allocations: 11.98 kB / 0.9553 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.2568, allocations: 7.938 kB / 0.9553 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008356/0.2577, allocations: 0.7373 MB / 0.956 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008999/0.2586, allocations: 0.5822 MB / 0.9566 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003747/0.259, allocations: 219.5 kB / 0.9568 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001521/0.2591, allocations: 101.3 kB / 0.9569 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.431e-05/0.2592, allocations: 19.97 kB / 0.9569 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003332/0.2595, allocations: 181.4 kB / 0.9571 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=33): time 1.793e-06/0.2595, allocations: 4 kB / 0.9571 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.0006786/0.2602, allocations: 359.7 kB / 0.9575 GB, free: 1.32 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.282e-05/0.2603, allocations: 132.5 kB / 0.9576 GB, free: 1.16 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003094/0.2606, allocations: 308.9 kB / 0.9579 GB, free: 0.8438 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.76e-05/0.2607, allocations: 29.7 kB / 0.9579 GB, free: 0.8086 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.105e-05/0.2607, allocations: 128.7 kB / 0.958 GB, free: 0.6758 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.467e-05/0.2608, allocations: 114.4 kB / 0.9581 GB, free: 0.5625 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.175e-05/0.2609, allocations: 61.69 kB / 0.9582 GB, free: 0.4961 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.2611, allocations: 338.8 kB / 0.9585 GB, free: 160 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.2612, allocations: 79.95 kB / 0.9586 GB, free: 80 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002069/0.2614, allocations: 123.6 kB / 0.9587 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003273/0.2618, allocations: 204.7 kB / 0.9589 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.2618, allocations: 0 / 0.9589 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004397/0.2622, allocations: 277.8 kB / 0.9592 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.2623, allocations: 8 kB / 0.9592 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.2623, allocations: 0 / 0.9592 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.2623, allocations: 0 / 0.9592 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002199/0.2625, allocations: 59.91 kB / 0.9592 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.2625, allocations: 0 / 0.9592 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001618/0.2627, allocations: 30.58 kB / 0.9593 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.606e-05/0.2627, allocations: 12 kB / 0.9593 GB, free: 15.36 MB / 0.7481 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.0001844/0.2629, allocations: 169.7 kB / 0.9594 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.567e-05/0.263, allocations: 27.62 kB / 0.9595 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006694/0.2637, allocations: 376.7 kB / 0.9598 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.2637, allocations: 4 kB / 0.9598 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.2637, allocations: 0 / 0.9598 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.2637, allocations: 7.875 kB / 0.9598 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003137/0.264, allocations: 329.2 kB / 0.9602 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.264, allocations: 4 kB / 0.9602 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001753/0.2642, allocations: 63.84 kB / 0.9602 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.2642, allocations: 0 / 0.9602 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.157e-05/0.2643, allocations: 12 kB / 0.9602 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.2643, allocations: 0 / 0.9602 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2643, allocations: 0 / 0.9602 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004663/0.2647, allocations: 322.2 kB / 0.9605 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001323/0.2649, allocations: 136.7 kB / 0.9607 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.492e-05/0.2649, allocations: 12 kB / 0.9607 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001638/0.2651, allocations: 19.98 kB / 0.9607 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.048e-05/0.2652, allocations: 23.91 kB / 0.9607 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.929e-05/0.2652, allocations: 15.98 kB / 0.9607 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002084/0.2654, allocations: 236.4 kB / 0.961 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.5e-07/0.2654, allocations: 0 / 0.961 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000302/0.2657, allocations: 59.84 kB / 0.961 GB, free: 13.48 MB / 0.7481 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.0009318/0.2667, allocations: 413.4 kB / 0.9614 GB, free: 13.22 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005179/0.2672, allocations: 291.7 kB / 0.9617 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.2672, allocations: 3.938 kB / 0.9617 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001873/0.2674, allocations: 127.8 kB / 0.9618 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002738/0.2677, allocations: 36.66 kB / 0.9618 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008659/0.2686, allocations: 0.5265 MB / 0.9624 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.2689, allocations: 0.7656 MB / 0.9631 GB, free: 11.42 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.269, allocations: 43.42 kB / 0.9632 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of SimCode: time 2.91e-07/0.269, allocations: 0 / 0.9632 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of Templates: time 0.007075/0.2761, allocations: 4.196 MB / 0.9672 GB, free: 7.188 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches