Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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_TDewPoi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",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.904/1.904, allocations: 390.3 MB / 402.8 MB, free: 6.684 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.0009517/0.0009517, allocations: 180.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.202/1.202, allocations: 221.3 MB / 0.7915 GB, free: 5.445 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.0007869/0.0007869, allocations: 107.6 kB / 0.9317 GB, free: 5.766 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.621e-05/2.633e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1897/0.1898, allocations: 143 MB / 1.219 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6575/0.8473, allocations: 151.4 MB / 1.367 GB, free: 2.66 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002016/0.8476, allocations: 85.88 kB / 1.367 GB, free: 2.613 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01747/0.865, allocations: 6.251 MB / 1.373 GB, free: 13.31 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.352e-06/0.8651, allocations: 0 / 1.373 GB, free: 13.31 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.8651, allocations: 0 / 1.373 GB, free: 13.31 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.0003091/0.8654, allocations: 369.5 kB / 1.373 GB, free: 12.91 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.8655, allocations: 12.03 kB / 1.373 GB, free: 12.89 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.874e-05/0.8655, allocations: 30.56 kB / 1.373 GB, free: 12.86 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000124/0.8656, allocations: 11.98 kB / 1.373 GB, free: 12.84 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.025e-05/0.8657, allocations: 163 kB / 1.373 GB, free: 12.64 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.8658, allocations: 11.31 kB / 1.373 GB, free: 12.64 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.041e-05/0.8658, allocations: 0 / 1.373 GB, free: 12.64 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.568e-05/0.8659, allocations: 41.12 kB / 1.374 GB, free: 12.59 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.8659, allocations: 0 / 1.374 GB, free: 12.59 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.066e-06/0.8659, allocations: 0 / 1.374 GB, free: 12.59 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.8659, allocations: 0 / 1.374 GB, free: 12.59 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.565e-05/0.866, allocations: 19.8 kB / 1.374 GB, free: 12.58 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001387/0.8661, allocations: 165.3 kB / 1.374 GB, free: 12.38 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007605/0.8669, allocations: 125 kB / 1.374 GB, free: 12.25 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.335e-05/0.8669, allocations: 16.67 kB / 1.374 GB, free: 12.23 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.905e-05/0.867, allocations: 85.19 kB / 1.374 GB, free: 12.13 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.958e-05/0.867, allocations: 37.75 kB / 1.374 GB, free: 12.09 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.867, allocations: 0 / 1.374 GB, free: 12.09 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.000122/0.8672, allocations: 56.72 kB / 1.374 GB, free: 12.04 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.667e-05/0.8672, allocations: 55.41 kB / 1.374 GB, free: 11.97 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.089e-05/0.8673, allocations: 85 kB / 1.374 GB, free: 11.88 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.8673, allocations: 25.7 kB / 1.374 GB, free: 11.85 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.148e-05/0.8673, allocations: 80.14 kB / 1.374 GB, free: 11.77 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.365e-05/0.8673, allocations: 11.78 kB / 1.374 GB, free: 11.76 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-06/0.8673, allocations: 3.938 kB / 1.374 GB, free: 11.75 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.809e-05/0.8675, allocations: 318.8 kB / 1.375 GB, free: 11.43 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.78e-05/0.8675, allocations: 10.94 kB / 1.375 GB, free: 11.43 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.474e-05/0.8675, allocations: 12.12 kB / 1.375 GB, free: 11.41 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.301e-05/0.8675, allocations: 7.438 kB / 1.375 GB, free: 11.41 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.8675, allocations: 0 / 1.375 GB, free: 11.41 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.793e-05/0.8676, allocations: 63.89 kB / 1.375 GB, free: 11.35 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.8676, allocations: 5.25 kB / 1.375 GB, free: 11.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.155e-06/0.8676, allocations: 0 / 1.375 GB, free: 11.34 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.586e-06/0.8677, allocations: 0 / 1.375 GB, free: 11.34 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.945e-05/0.8677, allocations: 8 kB / 1.375 GB, free: 11.34 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.8677, allocations: 0 / 1.375 GB, free: 11.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.49e-05/0.8678, allocations: 0 / 1.375 GB, free: 11.34 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.8678, allocations: 4 kB / 1.375 GB, free: 11.33 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 6.51e-05/0.8678, allocations: 120.2 kB / 1.375 GB, free: 11.21 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.316e-06/0.8678, allocations: 0 / 1.375 GB, free: 11.21 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001874/0.868, allocations: 79.09 kB / 1.375 GB, free: 11.14 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.8681, allocations: 4 kB / 1.375 GB, free: 11.14 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.287e-06/0.8681, allocations: 0 / 1.375 GB, free: 11.14 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.8681, allocations: 64 / 1.375 GB, free: 11.14 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001023/0.8682, allocations: 169.2 kB / 1.375 GB, free: 10.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.8682, allocations: 0 / 1.375 GB, free: 10.93 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.797e-05/0.8682, allocations: 8 kB / 1.375 GB, free: 10.92 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.8682, allocations: 0 / 1.375 GB, free: 10.92 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.261e-06/0.8683, allocations: 0 / 1.375 GB, free: 10.92 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.8683, allocations: 0 / 1.375 GB, free: 10.92 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.8683, allocations: 3.938 kB / 1.375 GB, free: 10.91 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.737e-05/0.8684, allocations: 95.39 kB / 1.375 GB, free: 10.82 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.12e-05/0.8684, allocations: 85.06 kB / 1.375 GB, free: 10.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.05e-05/0.8684, allocations: 0 / 1.375 GB, free: 10.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.873e-05/0.8685, allocations: 0 / 1.375 GB, free: 10.71 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.903e-05/0.8685, allocations: 7.984 kB / 1.375 GB, free: 10.71 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.8685, allocations: 0 / 1.375 GB, free: 10.71 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.61e-05/0.8686, allocations: 79.28 kB / 1.375 GB, free: 10.63 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8686, allocations: 0 / 1.375 GB, free: 10.63 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002083/0.8688, allocations: 55.47 kB / 1.375 GB, free: 10.58 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 (5): * Single equations (assignments): 5 * 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.0005646/0.8693, allocations: 0.7053 MB / 1.376 GB, free: 9.863 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001011/0.8695, allocations: 31.23 kB / 1.376 GB, free: 9.84 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.8695, allocations: 4 kB / 1.376 GB, free: 9.836 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.803e-05/0.8695, allocations: 23.06 kB / 1.376 GB, free: 9.82 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.626e-05/0.8696, allocations: 0 / 1.376 GB, free: 9.82 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003056/0.8699, allocations: 129.8 kB / 1.376 GB, free: 9.664 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002047/0.8701, allocations: 0.677 MB / 1.377 GB, free: 8.961 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.871e-05/0.8702, allocations: 12 kB / 1.377 GB, free: 8.949 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.923e-05/0.8702, allocations: 11.44 kB / 1.377 GB, free: 8.938 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/0.8702, allocations: 0 / 1.377 GB, free: 8.938 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0111/0.8813, allocations: 1.692 MB / 1.379 GB, free: 7.426 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002074/0.8816, allocations: 204.8 kB / 1.379 GB, free: 7.207 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.459/2.341, allocations: 7.938 kB / 1.379 GB, free: 7.199 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_res.mat does not exist to compare? outputFormat=mat