Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.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.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison",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.304/2.304, allocations: 387.4 MB / 394.9 MB, free: 13.43 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.001229/0.001229, allocations: 188.7 kB / 487.4 MB, free: 5.086 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.504/1.504, allocations: 221.5 MB / 0.7824 GB, free: 1.02 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.0009555/0.0009555, allocations: 99.59 kB / 0.9219 GB, free: 2.246 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.331e-05/2.334e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2893, allocations: 142.4 MB / 1.206 GB, free: 43.91 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.943/1.232, allocations: 149.7 MB / 1.352 GB, free: 18.44 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002293/1.233, allocations: 75.55 kB / 1.352 GB, free: 18.44 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007495/1.24, allocations: 2.474 MB / 1.355 GB, free: 34.02 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.114e-06/1.24, allocations: 0 / 1.355 GB, free: 34.02 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.564e-06/1.24, allocations: 0 / 1.355 GB, free: 34.02 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0002952/1.24, allocations: 367.5 kB / 1.355 GB, free: 33.65 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/1.24, allocations: 8.375 kB / 1.355 GB, free: 33.65 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001923/1.241, allocations: 17.64 kB / 1.355 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.708e-05/1.241, allocations: 163.8 kB / 1.355 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/1.241, allocations: 0.5625 kB / 1.355 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.118e-05/1.241, allocations: 7.797 kB / 1.355 GB, free: 33.44 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.421e-05/1.241, allocations: 21.28 kB / 1.355 GB, free: 33.44 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.477e-05/1.241, allocations: 46.42 kB / 1.355 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/1.241, allocations: 0 / 1.355 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/1.241, allocations: 4 kB / 1.355 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/1.241, allocations: 0 / 1.355 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001281/1.241, allocations: 140.7 kB / 1.355 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.336e-05/1.241, allocations: 55.3 kB / 1.356 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.757e-05/1.241, allocations: 24 kB / 1.356 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.789e-05/1.241, allocations: 0.6562 kB / 1.356 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/1.241, allocations: 39.08 kB / 1.356 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/1.241, allocations: 0 / 1.356 GB, free: 33.17 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0001474/1.242, allocations: 59.62 kB / 1.356 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.265e-05/1.242, allocations: 55.34 kB / 1.356 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.629e-05/1.242, allocations: 85.52 kB / 1.356 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.012e-05/1.242, allocations: 25.7 kB / 1.356 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.597e-05/1.242, allocations: 80.66 kB / 1.356 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.374e-05/1.242, allocations: 23.83 kB / 1.356 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.25e-06/1.242, allocations: 1.125 kB / 1.356 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.922e-05/1.242, allocations: 316.4 kB / 1.356 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.975e-05/1.242, allocations: 11.73 kB / 1.356 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.504e-05/1.242, allocations: 7.312 kB / 1.356 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.872e-05/1.242, allocations: 15.41 kB / 1.356 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/1.242, allocations: 3.938 kB / 1.356 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 7.758e-05/1.242, allocations: 63.95 kB / 1.356 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/1.242, allocations: 7.344 kB / 1.356 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/1.242, allocations: 0 / 1.356 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/1.242, allocations: 0.6562 kB / 1.356 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/1.242, allocations: 18.23 kB / 1.356 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/1.242, allocations: 3.938 kB / 1.356 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.335e-05/1.242, allocations: 4.5 kB / 1.356 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/1.242, allocations: 4.578 kB / 1.356 GB, free: 32.48 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 (6): * Single equations (assignments): 6 * 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.119e-05/1.242, allocations: 102 kB / 1.356 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.272e-05/1.242, allocations: 63.67 kB / 1.357 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.024e-05/1.242, allocations: 8.531 kB / 1.357 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001792/1.243, allocations: 85.91 kB / 1.357 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/1.243, allocations: 0 / 1.357 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/1.243, allocations: 0 / 1.357 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/1.243, allocations: 0.7031 kB / 1.357 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.7e-05/1.243, allocations: 147.9 kB / 1.357 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/1.243, allocations: 4.641 kB / 1.357 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.4e-05/1.243, allocations: 13.95 kB / 1.357 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/1.243, allocations: 4.406 kB / 1.357 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.288e-06/1.243, allocations: 0 / 1.357 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/1.243, allocations: 4.656 kB / 1.357 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.243, allocations: 320 / 1.357 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.509e-05/1.243, allocations: 96.5 kB / 1.357 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.941e-05/1.243, allocations: 87.33 kB / 1.357 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/1.243, allocations: 4 kB / 1.357 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.581e-05/1.243, allocations: 4.547 kB / 1.357 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.02e-05/1.243, allocations: 5.547 kB / 1.357 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-06/1.243, allocations: 4.656 kB / 1.357 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.854e-05/1.243, allocations: 82.06 kB / 1.357 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.243, allocations: 0 / 1.357 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000181/1.243, allocations: 7.531 kB / 1.357 GB, free: 31.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0003845/1.244, allocations: 0.6187 MB / 1.358 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.908e-05/1.244, allocations: 43.28 kB / 1.358 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/1.244, allocations: 3.812 kB / 1.358 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.265e-05/1.244, allocations: 19.36 kB / 1.358 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001456/1.244, allocations: 8.266 kB / 1.358 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003269/1.244, allocations: 95.97 kB / 1.358 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002641/1.245, allocations: 0.6806 MB / 1.358 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 6.088e-05/1.245, allocations: 9.406 kB / 1.358 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.825e-05/1.245, allocations: 8.609 kB / 1.358 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of SimCode: time 3.81e-07/1.245, allocations: 0 / 1.358 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02076/1.266, allocations: 0.8922 MB / 1.359 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001843/1.266, allocations: 173 kB / 1.36 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.465/2.731, allocations: 0 / 1.36 GB, free: 30.19 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison_res.mat does not exist to compare? outputFormat=mat