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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001086/0.001086, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001625/0.001625, allocations: 185.4 kB / 16.92 MB, free: 6.703 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.501/1.501, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.636/2.636, allocations: 437.8 MB / 0.7128 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000387/0.000387, allocations: 12 kB / 0.8735 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8315/0.8319, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002437/0.8344, allocations: 1.371 MB / 1.025 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00209/0.8366, allocations: 1.136 MB / 1.026 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.854e-05/0.8367, allocations: 3.938 kB / 1.026 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003388/0.837, allocations: 23.91 kB / 1.026 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002879/0.8373, allocations: 59.75 kB / 1.026 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004221/0.8377, allocations: 131.5 kB / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003541/0.8381, allocations: 229.5 kB / 1.027 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/0.8383, allocations: 19.98 kB / 1.027 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.8384, allocations: 71.81 kB / 1.027 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002403/0.8386, allocations: 87.72 kB / 1.027 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.394e-05/0.8387, allocations: 12 kB / 1.027 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001629/0.8388, allocations: 71.91 kB / 1.027 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.8389, allocations: 67.81 kB / 1.027 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001398/0.8391, allocations: 129 kB / 1.027 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002702/0.8394, allocations: 197.6 kB / 1.027 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/0.8394, allocations: 0 / 1.027 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.404e-06/0.8394, allocations: 0 / 1.027 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.8394, allocations: 0 / 1.027 GB, free: 12.27 MB / 0.7794 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.0008258/0.8402, allocations: 499.6 kB / 1.028 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.8403, allocations: 15.97 kB / 1.028 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.128e-05/0.8404, allocations: 28.56 kB / 1.028 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003354/0.8407, allocations: 264.8 kB / 1.028 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.528e-05/0.8407, allocations: 12.38 kB / 1.028 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.152e-05/0.8408, allocations: 16.38 kB / 1.028 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003795/0.8412, allocations: 220.8 kB / 1.028 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.8412, allocations: 4 kB / 1.028 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.783e-05/0.8412, allocations: 8 kB / 1.028 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.8412, allocations: 4 kB / 1.028 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009312/0.8422, allocations: 0.7373 MB / 1.029 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009564/0.8431, allocations: 0.5741 MB / 1.03 GB, free: 9.75 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000395/0.8435, allocations: 235.9 kB / 1.03 GB, free: 9.512 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001654/0.8437, allocations: 100.8 kB / 1.03 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 5.215e-05/0.8438, allocations: 15.97 kB / 1.03 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003569/0.8441, allocations: 177.4 kB / 1.03 GB, free: 9.207 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=33): time 2.004e-06/0.8441, allocations: 0 / 1.03 GB, free: 9.207 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33): time 0.0006862/0.8448, allocations: 366.8 kB / 1.03 GB, free: 8.844 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001192/0.845, allocations: 136.5 kB / 1.03 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003512/0.8453, allocations: 308.9 kB / 1.031 GB, free: 8.363 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.052e-05/0.8454, allocations: 33.7 kB / 1.031 GB, free: 8.324 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.188e-05/0.8455, allocations: 124.7 kB / 1.031 GB, free: 8.199 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/0.8456, allocations: 106.5 kB / 1.031 GB, free: 8.094 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.717e-05/0.8456, allocations: 29.7 kB / 1.031 GB, free: 8.059 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.8458, allocations: 334.8 kB / 1.031 GB, free: 7.723 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.846, allocations: 79.95 kB / 1.031 GB, free: 7.645 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001925/0.8462, allocations: 128.4 kB / 1.032 GB, free: 7.508 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003343/0.8465, allocations: 209.2 kB / 1.032 GB, free: 7.301 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.8465, allocations: 0 / 1.032 GB, free: 7.301 MB / 0.7794 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004147/0.8469, allocations: 265.3 kB / 1.032 GB, free: 7.035 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.847, allocations: 8 kB / 1.032 GB, free: 7.027 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.847, allocations: 0 / 1.032 GB, free: 7.027 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.847, allocations: 0 / 1.032 GB, free: 7.027 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000228/0.8472, allocations: 63.91 kB / 1.032 GB, free: 6.965 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.395e-06/0.8472, allocations: 0 / 1.032 GB, free: 6.965 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001683/0.8474, allocations: 41.73 kB / 1.032 GB, free: 6.926 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.76e-05/0.8475, allocations: 19.92 kB / 1.032 GB, free: 6.906 MB / 0.7794 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.0001815/0.8476, allocations: 157.8 kB / 1.032 GB, free: 6.742 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.247e-05/0.8477, allocations: 27.62 kB / 1.032 GB, free: 6.715 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000685/0.8484, allocations: 381 kB / 1.033 GB, free: 6.34 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/0.8484, allocations: 12.03 kB / 1.033 GB, free: 6.328 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.8484, allocations: 0 / 1.033 GB, free: 6.328 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.8484, allocations: 7.922 kB / 1.033 GB, free: 6.32 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004229/0.8489, allocations: 333.2 kB / 1.033 GB, free: 5.945 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.8489, allocations: 0 / 1.033 GB, free: 5.945 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001656/0.849, allocations: 55.91 kB / 1.033 GB, free: 5.891 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.8491, allocations: 0 / 1.033 GB, free: 5.891 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.354e-05/0.8491, allocations: 11.98 kB / 1.033 GB, free: 5.879 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.8491, allocations: 0 / 1.033 GB, free: 5.879 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.8491, allocations: 4 kB / 1.033 GB, free: 5.875 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004959/0.8496, allocations: 313.8 kB / 1.033 GB, free: 5.551 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001439/0.8498, allocations: 148.7 kB / 1.034 GB, free: 5.387 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.099e-05/0.8498, allocations: 8 kB / 1.034 GB, free: 5.379 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/0.85, allocations: 19.92 kB / 1.034 GB, free: 5.359 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.793e-05/0.85, allocations: 23.91 kB / 1.034 GB, free: 5.336 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.071e-05/0.8501, allocations: 15.98 kB / 1.034 GB, free: 5.32 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002229/0.8503, allocations: 236.5 kB / 1.034 GB, free: 5.09 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8503, allocations: 0 / 1.034 GB, free: 5.09 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003123/0.8506, allocations: 63.89 kB / 1.034 GB, free: 5.027 MB / 0.7794 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.00108/0.8517, allocations: 410.4 kB / 1.034 GB, free: 4.766 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004005/0.8521, allocations: 224.3 kB / 1.035 GB, free: 4.547 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.8521, allocations: 0 / 1.035 GB, free: 4.547 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001856/0.8523, allocations: 123.8 kB / 1.035 GB, free: 4.426 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003153/0.8527, allocations: 32.66 kB / 1.035 GB, free: 4.391 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009769/0.8537, allocations: 0.6149 MB / 1.035 GB, free: 3.746 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004081/0.8541, allocations: 0.7574 MB / 1.036 GB, free: 2.965 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001109/0.8542, allocations: 51.41 kB / 1.036 GB, free: 2.914 MB / 0.7794 GB Notification: Performance of SimCode: time 3.31e-07/0.8542, allocations: 0 / 1.036 GB, free: 2.914 MB / 0.7794 GB Notification: Performance of Templates: time 0.007454/0.8617, allocations: 4.159 MB / 1.04 GB, free: 14.77 MB / 0.795 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