Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001722/0.001722, allocations: 102.6 kB / 16.27 MB, free: 5.965 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.001714/0.001714, allocations: 189.8 kB / 17.2 MB, free: 5.59 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.415/1.415, allocations: 222.9 MB / 240.9 MB, free: 15.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.575/2.575, allocations: 437.1 MB / 0.7111 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 72.14 kB / 0.8699 GB, free: 2.211 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.3171, allocations: 151.6 MB / 1.018 GB, free: 10.65 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003718/0.3209, allocations: 1.649 MB / 1.02 GB, free: 8.992 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002609/0.3235, allocations: 1.179 MB / 1.021 GB, free: 7.805 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001374/0.3237, allocations: 0 / 1.021 GB, free: 7.805 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0003181/0.324, allocations: 31.78 kB / 1.021 GB, free: 7.773 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0004993/0.3245, allocations: 72.23 kB / 1.021 GB, free: 7.703 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005949/0.3252, allocations: 144.6 kB / 1.021 GB, free: 7.566 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0004219/0.3256, allocations: 249.4 kB / 1.021 GB, free: 7.324 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001608/0.3258, allocations: 27.97 kB / 1.021 GB, free: 7.297 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000184/0.3259, allocations: 79.77 kB / 1.021 GB, free: 7.219 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003621/0.3263, allocations: 105.6 kB / 1.021 GB, free: 7.117 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 6.859e-05/0.3264, allocations: 16 kB / 1.021 GB, free: 7.102 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003171/0.3267, allocations: 71.98 kB / 1.022 GB, free: 7.031 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0002112/0.3269, allocations: 83.8 kB / 1.022 GB, free: 6.949 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.000211/0.3272, allocations: 107.3 kB / 1.022 GB, free: 6.844 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0007072/0.3279, allocations: 283.4 kB / 1.022 GB, free: 6.566 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 1.095e-05/0.3279, allocations: 7.938 kB / 1.022 GB, free: 6.559 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.374e-06/0.3279, allocations: 0 / 1.022 GB, free: 6.559 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.722e-05/0.3279, allocations: 0 / 1.022 GB, free: 6.559 MB / 0.795 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.001022/0.329, allocations: 0.5345 MB / 1.022 GB, free: 5.973 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.329, allocations: 8.031 kB / 1.022 GB, free: 5.965 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.525e-05/0.3291, allocations: 32.56 kB / 1.023 GB, free: 5.934 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000364/0.3295, allocations: 260.8 kB / 1.023 GB, free: 5.637 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.25e-05/0.3295, allocations: 20.36 kB / 1.023 GB, free: 5.617 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.188e-05/0.3296, allocations: 16.38 kB / 1.023 GB, free: 5.602 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000426/0.33, allocations: 222.4 kB / 1.023 GB, free: 5.367 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.33, allocations: 3.938 kB / 1.023 GB, free: 5.363 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.813e-05/0.3301, allocations: 4 kB / 1.023 GB, free: 5.359 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.3301, allocations: 4 kB / 1.023 GB, free: 5.355 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009698/0.331, allocations: 0.7295 MB / 1.024 GB, free: 4.625 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001018/0.3321, allocations: 0.5781 MB / 1.024 GB, free: 3.996 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004079/0.3325, allocations: 228.4 kB / 1.025 GB, free: 3.766 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001684/0.3327, allocations: 104.8 kB / 1.025 GB, free: 3.66 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 4.973e-05/0.3327, allocations: 19.91 kB / 1.025 GB, free: 3.641 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003965/0.3331, allocations: 178.1 kB / 1.025 GB, free: 3.453 MB / 0.795 GB Notification: Performance of pre-optimization done (n=33): time 1.763e-06/0.3331, allocations: 0 / 1.025 GB, free: 3.453 MB / 0.795 GB Notification: Performance of matching and sorting (n=33): time 0.0007363/0.3339, allocations: 370.7 kB / 1.025 GB, free: 3.086 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.774e-05/0.334, allocations: 136.5 kB / 1.025 GB, free: 2.922 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003455/0.3343, allocations: 304.9 kB / 1.026 GB, free: 2.613 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.543e-05/0.3344, allocations: 33.7 kB / 1.026 GB, free: 2.574 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 9.977e-05/0.3345, allocations: 124.7 kB / 1.026 GB, free: 2.449 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/0.3346, allocations: 110.4 kB / 1.026 GB, free: 2.34 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.3347, allocations: 61.69 kB / 1.026 GB, free: 2.273 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001735/0.3349, allocations: 338.8 kB / 1.026 GB, free: 1.934 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001596/0.3351, allocations: 79.95 kB / 1.026 GB, free: 1.855 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002028/0.3353, allocations: 123.4 kB / 1.026 GB, free: 1.723 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000345/0.3356, allocations: 210.3 kB / 1.027 GB, free: 1.516 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.3356, allocations: 0 / 1.027 GB, free: 1.516 MB / 0.795 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005064/0.3362, allocations: 277.2 kB / 1.027 GB, free: 1.238 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.3362, allocations: 4 kB / 1.027 GB, free: 1.234 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.7e-05/0.3362, allocations: 0 / 1.027 GB, free: 1.234 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.3362, allocations: 3.938 kB / 1.027 GB, free: 1.23 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002296/0.3365, allocations: 63.91 kB / 1.027 GB, free: 1.168 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.3365, allocations: 0 / 1.027 GB, free: 1.168 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001582/0.3366, allocations: 27.77 kB / 1.027 GB, free: 1.141 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.596e-05/0.3367, allocations: 15.98 kB / 1.027 GB, free: 1.125 MB / 0.795 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.0001909/0.3369, allocations: 160.2 kB / 1.027 GB, free: 0.9609 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.187e-05/0.337, allocations: 35.62 kB / 1.027 GB, free: 0.9258 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007125/0.3377, allocations: 377 kB / 1.028 GB, free: 0.5547 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.3377, allocations: 4 kB / 1.028 GB, free: 0.5508 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.3377, allocations: 0 / 1.028 GB, free: 0.5508 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.393e-06/0.3377, allocations: 3.938 kB / 1.028 GB, free: 0.5469 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003746/0.3381, allocations: 329.3 kB / 1.028 GB, free: 180 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.3381, allocations: 0 / 1.028 GB, free: 180 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001707/0.3383, allocations: 59.91 kB / 1.028 GB, free: 120 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.3383, allocations: 4 kB / 1.028 GB, free: 116 kB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.261e-05/0.3383, allocations: 11.98 kB / 1.028 GB, free: 104 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.3383, allocations: 0 / 1.028 GB, free: 104 kB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3383, allocations: 0 / 1.028 GB, free: 104 kB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005328/0.3389, allocations: 313.8 kB / 1.028 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000159/0.339, allocations: 148.7 kB / 1.028 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.086e-05/0.3391, allocations: 4 kB / 1.028 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001609/0.3393, allocations: 19.98 kB / 1.028 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.322e-05/0.3393, allocations: 31.89 kB / 1.028 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-05/0.3394, allocations: 15.94 kB / 1.028 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002386/0.3396, allocations: 236.4 kB / 1.029 GB, free: 15.31 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3396, allocations: 0 / 1.029 GB, free: 15.31 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003138/0.3399, allocations: 63.84 kB / 1.029 GB, free: 15.25 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.001486/0.3414, allocations: 400.3 kB / 1.029 GB, free: 15 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0005673/0.342, allocations: 304.2 kB / 1.029 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.342, allocations: 0 / 1.029 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002087/0.3422, allocations: 120.5 kB / 1.03 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002945/0.3425, allocations: 32.5 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009727/0.3435, allocations: 0.5449 MB / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004208/0.344, allocations: 0.754 MB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.3441, allocations: 51.41 kB / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of SimCode: time 2.5e-07/0.3441, allocations: 4 kB / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of Templates: time 0.008381/0.3525, allocations: 4.186 MB / 1.035 GB, free: 8.965 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches