Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.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.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",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 1.925/1.925, allocations: 390.5 MB / 398 MB, free: 10.96 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.0009161/0.0009162, allocations: 179.9 kB / 491.2 MB, free: 1.559 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.251/1.251, allocations: 221.5 MB / 0.7868 GB, free: 13.32 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.0008998/0.0008999, allocations: 91.56 kB / 0.9269 GB, free: 13.81 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.81e-05/1.828e-05, allocations: 8 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2004/0.2004, allocations: 143 MB / 1.212 GB, free: 39.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6619/0.8623, allocations: 149.6 MB / 1.359 GB, free: 17.53 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001859/0.8625, allocations: 76.08 kB / 1.359 GB, free: 17.53 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003995/0.8665, allocations: 1.497 MB / 1.36 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.282e-06/0.8665, allocations: 7.844 kB / 1.36 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.8666, allocations: 0 / 1.36 GB, free: 33.17 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002042/0.8668, allocations: 343.2 kB / 1.36 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.8668, allocations: 7.844 kB / 1.36 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001764/0.867, allocations: 17.91 kB / 1.36 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.131e-05/0.8671, allocations: 168.1 kB / 1.361 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.978e-06/0.8671, allocations: 0 / 1.361 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.8671, allocations: 7.844 kB / 1.361 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.061e-05/0.8672, allocations: 14.88 kB / 1.361 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.682e-05/0.8672, allocations: 39.23 kB / 1.361 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.851e-06/0.8673, allocations: 0 / 1.361 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.8673, allocations: 1.641 kB / 1.361 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.8673, allocations: 0 / 1.361 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001046/0.8674, allocations: 140.1 kB / 1.361 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001579/0.869, allocations: 266.4 kB / 1.361 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.257e-05/0.869, allocations: 25.5 kB / 1.361 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.138e-05/0.869, allocations: 0 / 1.361 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.311e-05/0.8691, allocations: 38.53 kB / 1.361 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.8691, allocations: 0 / 1.361 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001203/0.8692, allocations: 48.19 kB / 1.361 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.869e-05/0.8692, allocations: 52.86 kB / 1.361 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.619e-05/0.8693, allocations: 92.31 kB / 1.361 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.965e-06/0.8693, allocations: 29.55 kB / 1.361 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.083e-05/0.8693, allocations: 80.14 kB / 1.361 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.049e-05/0.8693, allocations: 8.969 kB / 1.361 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-06/0.8693, allocations: 4.125 kB / 1.361 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 6.391e-05/0.8694, allocations: 315.7 kB / 1.362 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.335e-05/0.8694, allocations: 8.594 kB / 1.362 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.108e-05/0.8694, allocations: 7.094 kB / 1.362 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.813e-05/0.8695, allocations: 8.391 kB / 1.362 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.8695, allocations: 3.953 kB / 1.362 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.862e-05/0.8695, allocations: 52.05 kB / 1.362 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.654e-05/0.8696, allocations: 3.875 kB / 1.362 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.8696, allocations: 0 / 1.362 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.8696, allocations: 9.531 kB / 1.362 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.184e-05/0.8697, allocations: 11.78 kB / 1.362 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.8697, allocations: 3.984 kB / 1.362 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.872e-05/0.8697, allocations: 3.906 kB / 1.362 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.8697, allocations: 5.484 kB / 1.362 GB, free: 31.64 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 4.47e-05/0.8698, allocations: 101 kB / 1.362 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.201e-05/0.8698, allocations: 50.86 kB / 1.362 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.332e-06/0.8698, allocations: 3.781 kB / 1.362 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.567e-05/0.8699, allocations: 7.812 kB / 1.362 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.8699, allocations: 4 kB / 1.362 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.8699, allocations: 1.406 kB / 1.362 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.8699, allocations: 0 / 1.362 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.51e-05/0.8699, allocations: 137.3 kB / 1.362 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.8699, allocations: 5.5 kB / 1.362 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.006e-05/0.87, allocations: 3.531 kB / 1.362 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.87, allocations: 1.359 kB / 1.362 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.87, allocations: 0 / 1.362 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.87, allocations: 0 / 1.362 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.87, allocations: 3.938 kB / 1.362 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.578e-05/0.8701, allocations: 83.44 kB / 1.362 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.728e-05/0.8701, allocations: 86.8 kB / 1.362 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.839e-06/0.8702, allocations: 0 / 1.362 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.128e-05/0.8702, allocations: 0 / 1.362 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.179e-05/0.8702, allocations: 5.203 kB / 1.362 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-06/0.8702, allocations: 0 / 1.362 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.438e-05/0.8703, allocations: 75.28 kB / 1.362 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2e-07/0.8703, allocations: 0 / 1.362 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000176/0.8704, allocations: 11.78 kB / 1.362 GB, free: 31.07 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0002278/0.8707, allocations: 0.6125 MB / 1.363 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.452e-05/0.8707, allocations: 23.73 kB / 1.363 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.8708, allocations: 0 / 1.363 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.52e-05/0.8708, allocations: 11.38 kB / 1.363 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001483/0.8709, allocations: 11.34 kB / 1.363 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002582/0.8712, allocations: 101 kB / 1.363 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001797/0.8714, allocations: 0.6805 MB / 1.364 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.643e-05/0.8714, allocations: 4 kB / 1.364 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.818e-05/0.8715, allocations: 8.562 kB / 1.364 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/0.8715, allocations: 3.938 kB / 1.364 GB, free: 29.65 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.025/0.8965, allocations: 0.7993 MB / 1.365 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001328/0.8967, allocations: 147.1 kB / 1.365 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.253/2.15, allocations: 0 / 1.365 GB, free: 29.41 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X_res.mat does not exist to compare? outputFormat=mat