Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.438/2.438, allocations: 390.5 MB / 398 MB, free: 11 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.001699/0.001699, allocations: 191.1 kB / 491.2 MB, free: 1.613 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.562/1.562, allocations: 221.5 MB / 0.7868 GB, free: 13.27 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.0009539/0.0009538, allocations: 95.89 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.228e-05/2.233e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.27, allocations: 143 MB / 1.212 GB, free: 39.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9155/1.186, allocations: 153 MB / 1.362 GB, free: 17.19 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002478/1.186, allocations: 83.02 kB / 1.362 GB, free: 17.19 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01968/1.206, allocations: 7.991 MB / 1.37 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.553e-06/1.206, allocations: 0.6562 kB / 1.37 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.695e-05/1.206, allocations: 3.844 kB / 1.37 GB, free: 32.44 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.0006709/1.206, allocations: 488.6 kB / 1.37 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/1.206, allocations: 11.66 kB / 1.37 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001004/1.206, allocations: 27.19 kB / 1.37 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003255/1.207, allocations: 273.6 kB / 1.37 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/1.207, allocations: 3.969 kB / 1.37 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.718e-05/1.207, allocations: 11.66 kB / 1.37 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007635/1.208, allocations: 0.7233 MB / 1.371 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002936/1.208, allocations: 189.4 kB / 1.371 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/1.208, allocations: 0 / 1.371 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.643e-05/1.208, allocations: 0 / 1.371 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/1.208, allocations: 3.844 kB / 1.371 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007628/1.209, allocations: 0.5275 MB / 1.372 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002603/1.209, allocations: 203.8 kB / 1.372 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/1.209, allocations: 93.16 kB / 1.372 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.604e-05/1.209, allocations: 21.66 kB / 1.372 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002299/1.209, allocations: 157.6 kB / 1.372 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=33): time 1.723e-06/1.209, allocations: 0 / 1.372 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of matching and sorting (n=33): time 0.0004338/1.21, allocations: 265.1 kB / 1.373 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.032e-05/1.21, allocations: 136.3 kB / 1.373 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000251/1.21, allocations: 261.9 kB / 1.373 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.624e-05/1.21, allocations: 25.7 kB / 1.373 GB, free: 31 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.044e-05/1.21, allocations: 122.2 kB / 1.373 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.126e-05/1.21, allocations: 99.92 kB / 1.373 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.05e-05/1.21, allocations: 0 / 1.373 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001213/1.211, allocations: 337.7 kB / 1.374 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.712e-05/1.211, allocations: 68.66 kB / 1.374 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001122/1.211, allocations: 113.5 kB / 1.374 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/1.211, allocations: 103.8 kB / 1.374 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/1.211, allocations: 0 / 1.374 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003173/1.211, allocations: 254.2 kB / 1.374 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/1.211, allocations: 3.844 kB / 1.374 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/1.211, allocations: 0 / 1.374 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/1.211, allocations: 3.875 kB / 1.374 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002027/1.212, allocations: 58.53 kB / 1.374 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.87e-06/1.212, allocations: 0 / 1.374 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001445/1.212, allocations: 30.34 kB / 1.374 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.667e-05/1.212, allocations: 17.05 kB / 1.374 GB, free: 30.41 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 0.0001205/1.212, allocations: 104.9 kB / 1.374 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003279/1.212, allocations: 257.3 kB / 1.375 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.833e-05/1.212, allocations: 26.94 kB / 1.375 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005392/1.213, allocations: 362.8 kB / 1.375 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/1.213, allocations: 7.875 kB / 1.375 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/1.213, allocations: 3.953 kB / 1.375 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/1.213, allocations: 0 / 1.375 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002466/1.213, allocations: 299.5 kB / 1.375 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/1.213, allocations: 3.906 kB / 1.375 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001518/1.213, allocations: 56.12 kB / 1.375 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.686e-06/1.213, allocations: 3.938 kB / 1.375 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.284e-05/1.213, allocations: 10.09 kB / 1.375 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/1.213, allocations: 7.812 kB / 1.375 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/1.213, allocations: 0 / 1.375 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003304/1.214, allocations: 294.8 kB / 1.376 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001256/1.214, allocations: 153.6 kB / 1.376 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.147e-05/1.214, allocations: 3.375 kB / 1.376 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001488/1.214, allocations: 14.23 kB / 1.376 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.201e-05/1.214, allocations: 28.02 kB / 1.376 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-05/1.214, allocations: 10.61 kB / 1.376 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001568/1.214, allocations: 214.7 kB / 1.376 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.214, allocations: 0 / 1.376 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003046/1.215, allocations: 61.28 kB / 1.376 GB, free: 29.68 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.001325/1.216, allocations: 1.079 MB / 1.377 GB, free: 28.95 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000307/1.216, allocations: 202.5 kB / 1.377 GB, free: 28.94 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.216, allocations: 3.906 kB / 1.377 GB, free: 28.94 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001289/1.216, allocations: 113.8 kB / 1.377 GB, free: 28.93 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002169/1.217, allocations: 16.8 kB / 1.377 GB, free: 28.93 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000809/1.217, allocations: 464.1 kB / 1.378 GB, free: 28.75 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003495/1.218, allocations: 0.7601 MB / 1.379 GB, free: 28.05 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0003168/1.218, allocations: 152.4 kB / 1.379 GB, free: 28.02 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001305/1.218, allocations: 88.77 kB / 1.379 GB, free: 28.01 MB / 0.8386 GB Notification: Performance of SimCode: time 3.91e-07/1.218, allocations: 0 / 1.379 GB, free: 28.01 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6273/1.846, allocations: 5.012 MB / 1.384 GB, free: 27.15 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002741/1.846, allocations: 208.2 kB / 1.384 GB, free: 26.86 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.917/3.763, allocations: 5.531 kB / 1.384 GB, free: 26.86 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat does not exist to compare? outputFormat=mat