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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.324/2.324, allocations: 387.4 MB / 394.9 MB, free: 13.35 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 196.6 kB / 487.4 MB, free: 5.02 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 221.5 MB / 0.7824 GB, free: 0.8906 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 103.8 kB / 0.9219 GB, free: 2.113 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.791e-05/1.793e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2532/0.2532, allocations: 142.4 MB / 1.206 GB, free: 43.82 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9261/1.179, allocations: 152.2 MB / 1.355 GB, free: 18.39 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002487/1.18, allocations: 87.23 kB / 1.355 GB, free: 18.39 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01887/1.199, allocations: 7.978 MB / 1.363 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.763e-06/1.199, allocations: 0 / 1.363 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.634e-05/1.199, allocations: 3.844 kB / 1.363 GB, free: 33.64 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0005417/1.199, allocations: 493.7 kB / 1.363 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/1.199, allocations: 13.34 kB / 1.363 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.178e-05/1.199, allocations: 30.02 kB / 1.363 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002914/1.2, allocations: 276.2 kB / 1.363 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/1.2, allocations: 3.844 kB / 1.363 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.596e-05/1.2, allocations: 7.844 kB / 1.363 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007077/1.2, allocations: 0.7179 MB / 1.364 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002538/1.201, allocations: 197.7 kB / 1.364 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/1.201, allocations: 6.609 kB / 1.364 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.308e-05/1.201, allocations: 3.875 kB / 1.364 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/1.201, allocations: 0 / 1.364 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006878/1.201, allocations: 0.5199 MB / 1.365 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002482/1.202, allocations: 215.5 kB / 1.365 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/1.202, allocations: 94.7 kB / 1.365 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.176e-05/1.202, allocations: 17.31 kB / 1.365 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002271/1.202, allocations: 158 kB / 1.365 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=33): time 1.603e-06/1.202, allocations: 3.844 kB / 1.365 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of matching and sorting (n=33): time 0.0004264/1.203, allocations: 254.4 kB / 1.365 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/1.203, allocations: 135.1 kB / 1.366 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002319/1.203, allocations: 260 kB / 1.366 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/1.203, allocations: 25.7 kB / 1.366 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.358e-05/1.203, allocations: 124.4 kB / 1.366 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.772e-05/1.203, allocations: 108.7 kB / 1.366 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.072e-05/1.203, allocations: 0 / 1.366 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001085/1.203, allocations: 338.4 kB / 1.366 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.059e-05/1.203, allocations: 71.06 kB / 1.366 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/1.203, allocations: 119.2 kB / 1.367 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/1.203, allocations: 95.44 kB / 1.367 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/1.203, allocations: 0 / 1.367 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000287/1.204, allocations: 255.3 kB / 1.367 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/1.204, allocations: 3.969 kB / 1.367 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/1.204, allocations: 0 / 1.367 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/1.204, allocations: 3.812 kB / 1.367 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001921/1.204, allocations: 61.92 kB / 1.367 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/1.204, allocations: 0 / 1.367 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001259/1.204, allocations: 22.52 kB / 1.367 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.332e-05/1.204, allocations: 18.61 kB / 1.367 GB, free: 31.61 MB / 0.8386 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 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.556e-05/1.204, allocations: 108.9 kB / 1.367 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003094/1.205, allocations: 260.6 kB / 1.367 GB, free: 31.44 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.296e-05/1.205, allocations: 23.28 kB / 1.367 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005099/1.205, allocations: 361.7 kB / 1.368 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/1.205, allocations: 3.75 kB / 1.368 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/1.205, allocations: 0 / 1.368 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/1.205, allocations: 7.188 kB / 1.368 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002137/1.205, allocations: 302.1 kB / 1.368 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/1.205, allocations: 0 / 1.368 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001459/1.206, allocations: 51.73 kB / 1.368 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/1.206, allocations: 0 / 1.368 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/1.206, allocations: 10.14 kB / 1.368 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/1.206, allocations: 3.844 kB / 1.368 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/1.206, allocations: 0 / 1.368 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003232/1.206, allocations: 295 kB / 1.368 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/1.206, allocations: 156.2 kB / 1.369 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.887e-05/1.206, allocations: 4 kB / 1.369 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/1.206, allocations: 17.58 kB / 1.369 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.798e-05/1.206, allocations: 25.81 kB / 1.369 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.426e-05/1.206, allocations: 18 kB / 1.369 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001494/1.207, allocations: 217 kB / 1.369 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.61e-07/1.207, allocations: 0 / 1.369 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002949/1.207, allocations: 61.12 kB / 1.369 GB, free: 30.87 MB / 0.8386 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001228/1.208, allocations: 1.066 MB / 1.37 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002788/1.208, allocations: 199.4 kB / 1.37 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/1.208, allocations: 3.906 kB / 1.37 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001266/1.209, allocations: 115.9 kB / 1.37 GB, free: 30.13 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002085/1.209, allocations: 20.22 kB / 1.37 GB, free: 30.13 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000748/1.209, allocations: 463.9 kB / 1.371 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/1.21, allocations: 0.7611 MB / 1.371 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002855/1.21, allocations: 157.9 kB / 1.372 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001282/1.21, allocations: 83.17 kB / 1.372 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of SimCode: time 2.31e-07/1.21, allocations: 0 / 1.372 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.271/4.481, allocations: 5.014 MB / 1.377 GB, free: 28.79 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001713/4.481, allocations: 199.9 kB / 1.377 GB, free: 28.53 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.869/7.35, allocations: 0 / 1.377 GB, free: 28.53 MB / 0.8386 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat does not exist to compare? outputFormat=mat