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.215/2.215, allocations: 387.1 MB / 399.7 MB, free: 9.418 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.0009811/0.0009812, allocations: 180.9 kB / 492.3 MB, free: 0.6016 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.558/1.558, allocations: 221.3 MB / 0.7871 GB, free: 12.88 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008958/0.0008958, allocations: 101.1 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.943e-05/3.957e-05, allocations: 4 kB / 1.073 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2661/0.2661, allocations: 142.4 MB / 1.212 GB, free: 38.38 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9108/1.177, allocations: 152.9 MB / 1.362 GB, free: 19.04 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002007/1.177, allocations: 86.88 kB / 1.362 GB, free: 19.03 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02083/1.198, allocations: 8.13 MB / 1.37 GB, free: 34.26 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.302e-06/1.198, allocations: 0 / 1.37 GB, free: 34.26 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.246e-05/1.198, allocations: 7.844 kB / 1.37 GB, free: 34.26 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.0006175/1.199, allocations: 483.5 kB / 1.37 GB, free: 33.84 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/1.199, allocations: 11.69 kB / 1.37 GB, free: 33.83 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.218e-05/1.199, allocations: 52.98 kB / 1.37 GB, free: 33.79 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.726e-05/1.199, allocations: 27.09 kB / 1.37 GB, free: 33.78 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003254/1.199, allocations: 271.3 kB / 1.371 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/1.199, allocations: 10.88 kB / 1.371 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.64e-05/1.199, allocations: 19.19 kB / 1.371 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003102/1.2, allocations: 208.3 kB / 1.371 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/1.2, allocations: 4 kB / 1.371 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.512e-05/1.2, allocations: 3.312 kB / 1.371 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-06/1.2, allocations: 3.844 kB / 1.371 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006669/1.2, allocations: 0.7306 MB / 1.372 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007687/1.201, allocations: 0.5602 MB / 1.372 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002822/1.202, allocations: 222.6 kB / 1.372 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000122/1.202, allocations: 96.56 kB / 1.372 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.371e-05/1.202, allocations: 20.98 kB / 1.372 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002523/1.202, allocations: 171.8 kB / 1.373 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=33): time 1.813e-06/1.202, allocations: 0 / 1.373 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of matching and sorting (n=33): time 0.0004434/1.202, allocations: 272.4 kB / 1.373 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.028e-05/1.203, allocations: 135 kB / 1.373 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002776/1.203, allocations: 273 kB / 1.373 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.779e-05/1.203, allocations: 33.42 kB / 1.373 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.162e-05/1.203, allocations: 121.6 kB / 1.373 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.303e-05/1.203, allocations: 109.7 kB / 1.374 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.062e-05/1.203, allocations: 3.75 kB / 1.374 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001016/1.203, allocations: 336.7 kB / 1.374 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/1.203, allocations: 78.7 kB / 1.374 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001366/1.203, allocations: 129.9 kB / 1.374 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001295/1.204, allocations: 96.47 kB / 1.374 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/1.204, allocations: 0 / 1.374 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003382/1.204, allocations: 276.6 kB / 1.374 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/1.204, allocations: 3.844 kB / 1.374 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/1.204, allocations: 0 / 1.374 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/1.204, allocations: 3.906 kB / 1.374 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001954/1.204, allocations: 60.27 kB / 1.374 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/1.204, allocations: 3.953 kB / 1.374 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00015/1.204, allocations: 34.5 kB / 1.374 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.456e-05/1.204, allocations: 14.41 kB / 1.375 GB, free: 32.16 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.762e-05/1.204, allocations: 122.6 kB / 1.375 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.111e-05/1.205, allocations: 23.28 kB / 1.375 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005567/1.205, allocations: 372.8 kB / 1.375 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/1.205, allocations: 7.812 kB / 1.375 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/1.205, allocations: 0 / 1.375 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.323e-06/1.205, allocations: 6.906 kB / 1.375 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002454/1.205, allocations: 337.4 kB / 1.375 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/1.205, allocations: 0 / 1.375 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001572/1.206, allocations: 58.55 kB / 1.375 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/1.206, allocations: 0 / 1.375 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.934e-05/1.206, allocations: 6.812 kB / 1.375 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/1.206, allocations: 7.781 kB / 1.375 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.206, allocations: 2.906 kB / 1.375 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003787/1.206, allocations: 311.2 kB / 1.376 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001381/1.206, allocations: 154.9 kB / 1.376 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.828e-05/1.206, allocations: 3.25 kB / 1.376 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001551/1.206, allocations: 17.86 kB / 1.376 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.54e-05/1.206, allocations: 24.55 kB / 1.376 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-05/1.206, allocations: 13.88 kB / 1.376 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001821/1.207, allocations: 221.6 kB / 1.376 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2e-07/1.207, allocations: 3.938 kB / 1.376 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003086/1.207, allocations: 67.67 kB / 1.376 GB, free: 31.46 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.001376/1.208, allocations: 1.123 MB / 1.377 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003399/1.209, allocations: 218 kB / 1.377 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/1.209, allocations: 4 kB / 1.377 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001465/1.209, allocations: 121.1 kB / 1.378 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002072/1.209, allocations: 29.39 kB / 1.378 GB, free: 30.72 MB / 0.8386 GB Warning: Could not resolve URI (OpenModelica_fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Resources/weatherdata/USA_IL_Chicago-OHare.Intl.AP.725300_TMY3.mos")) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008452/1.21, allocations: 483.1 kB / 1.378 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003719/1.21, allocations: 0.7648 MB / 1.379 GB, free: 29.85 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0003183/1.211, allocations: 149.4 kB / 1.379 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/1.211, allocations: 94.89 kB / 1.379 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of SimCode: time 4.61e-07/1.211, allocations: 0 / 1.379 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3821/1.593, allocations: 5.525 MB / 1.384 GB, free: 28.45 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001354/1.593, allocations: 215.1 kB / 1.385 GB, free: 28.23 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.98/3.573, allocations: 4 kB / 1.385 GB, free: 28.22 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