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 2.59/2.59, allocations: 393.5 MB / 408.4 MB, free: 10.98 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.001096/0.001096, allocations: 179.9 kB / 0.4901 GB, free: 2.227 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.597/1.597, allocations: 223.1 MB / 0.7992 GB, free: 15.66 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.0009533/0.0009533, allocations: 104.7 kB / 0.9396 GB, free: 2.852 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003851/0.0003852, allocations: 10.84 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.313/0.3134, allocations: 143 MB / 1.229 GB, free: 85.38 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2112/0.5247, allocations: 151.5 MB / 1.377 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003301/0.5251, allocations: 87.94 kB / 1.377 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.02033/0.5454, allocations: 6.26 MB / 1.383 GB, free: 7.352 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.176e-06/0.5455, allocations: 0 / 1.383 GB, free: 7.352 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.5455, allocations: 0 / 1.383 GB, free: 7.352 MB / 0.8855 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.0005243/0.546, allocations: 375.2 kB / 1.384 GB, free: 6.938 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.707e-05/0.5461, allocations: 12.56 kB / 1.384 GB, free: 6.926 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.606e-05/0.5461, allocations: 30.56 kB / 1.384 GB, free: 6.887 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002012/0.5464, allocations: 11.98 kB / 1.384 GB, free: 6.875 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.5465, allocations: 163 kB / 1.384 GB, free: 6.676 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.5465, allocations: 8 kB / 1.384 GB, free: 6.668 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.691e-05/0.5466, allocations: 0 / 1.384 GB, free: 6.668 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.5467, allocations: 49.61 kB / 1.384 GB, free: 6.613 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.5467, allocations: 0 / 1.384 GB, free: 6.613 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.5468, allocations: 0 / 1.384 GB, free: 6.613 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.5468, allocations: 4 kB / 1.384 GB, free: 6.609 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.208e-05/0.5468, allocations: 15.98 kB / 1.384 GB, free: 6.594 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002013/0.5471, allocations: 161.6 kB / 1.384 GB, free: 6.387 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009373/0.548, allocations: 118.6 kB / 1.384 GB, free: 6.262 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001348/0.5482, allocations: 89.19 kB / 1.384 GB, free: 6.156 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.84e-05/0.5482, allocations: 38.5 kB / 1.384 GB, free: 6.109 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=4): time 1.393e-06/0.5482, allocations: 0 / 1.384 GB, free: 6.109 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4): time 0.0001973/0.5484, allocations: 65.67 kB / 1.384 GB, free: 6.039 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/0.5485, allocations: 51.41 kB / 1.385 GB, free: 5.977 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.24e-05/0.5485, allocations: 92.98 kB / 1.385 GB, free: 5.879 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.5486, allocations: 25.7 kB / 1.385 GB, free: 5.848 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.129e-05/0.5486, allocations: 84.08 kB / 1.385 GB, free: 5.762 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.597e-05/0.5487, allocations: 23.67 kB / 1.385 GB, free: 5.738 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-06/0.5487, allocations: 0 / 1.385 GB, free: 5.738 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.5488, allocations: 318.8 kB / 1.385 GB, free: 5.418 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.437e-05/0.5489, allocations: 12.11 kB / 1.385 GB, free: 5.406 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.766e-05/0.5489, allocations: 8 kB / 1.385 GB, free: 5.398 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.518e-05/0.5489, allocations: 15.94 kB / 1.385 GB, free: 5.383 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.5489, allocations: 0 / 1.385 GB, free: 5.383 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.66e-05/0.549, allocations: 53.69 kB / 1.385 GB, free: 5.324 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.5491, allocations: 4 kB / 1.385 GB, free: 5.32 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/0.5491, allocations: 0 / 1.385 GB, free: 5.32 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.5491, allocations: 0 / 1.385 GB, free: 5.32 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.705e-05/0.5492, allocations: 11.98 kB / 1.385 GB, free: 5.309 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.5492, allocations: 0 / 1.385 GB, free: 5.309 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.499e-05/0.5492, allocations: 4 kB / 1.385 GB, free: 5.305 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.5492, allocations: 0 / 1.385 GB, free: 5.305 MB / 0.8855 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 () * Number of clocked 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 9.052e-05/0.5493, allocations: 113.8 kB / 1.385 GB, free: 5.184 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.05e-05/0.5493, allocations: 0 / 1.385 GB, free: 5.184 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002596/0.5496, allocations: 85.09 kB / 1.385 GB, free: 5.094 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.5496, allocations: 4 kB / 1.385 GB, free: 5.09 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.5496, allocations: 0 / 1.385 GB, free: 5.09 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.5496, allocations: 0 / 1.385 GB, free: 5.09 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001411/0.5498, allocations: 161.5 kB / 1.386 GB, free: 4.883 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.5498, allocations: 0 / 1.386 GB, free: 4.883 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.487e-05/0.5499, allocations: 8 kB / 1.386 GB, free: 4.875 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.5499, allocations: 0 / 1.386 GB, free: 4.875 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.5499, allocations: 4 kB / 1.386 GB, free: 4.871 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.5499, allocations: 4 kB / 1.386 GB, free: 4.867 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.5499, allocations: 0 / 1.386 GB, free: 4.867 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000136/0.55, allocations: 93.12 kB / 1.386 GB, free: 4.758 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 7.297e-05/0.5501, allocations: 88.98 kB / 1.386 GB, free: 4.652 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.5501, allocations: 0 / 1.386 GB, free: 4.652 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.96e-05/0.5502, allocations: 4 kB / 1.386 GB, free: 4.648 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.75e-05/0.5502, allocations: 0 / 1.386 GB, free: 4.648 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.5502, allocations: 7.984 kB / 1.386 GB, free: 4.641 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.125e-05/0.5503, allocations: 83.28 kB / 1.386 GB, free: 4.559 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5503, allocations: 3.938 kB / 1.386 GB, free: 4.555 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002922/0.5506, allocations: 51.88 kB / 1.386 GB, free: 4.504 MB / 0.8855 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 () * Number of clocked 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.0008051/0.5514, allocations: 0.7044 MB / 1.387 GB, free: 3.781 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001127/0.5515, allocations: 31.98 kB / 1.387 GB, free: 3.75 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.5515, allocations: 0 / 1.387 GB, free: 3.75 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 2.912e-05/0.5516, allocations: 19.98 kB / 1.387 GB, free: 3.73 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001301/0.5517, allocations: 4 kB / 1.387 GB, free: 3.727 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005486/0.5523, allocations: 186.1 kB / 1.387 GB, free: 3.5 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000284/0.5526, allocations: 0.6809 MB / 1.387 GB, free: 2.793 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001029/0.5527, allocations: 16.06 kB / 1.387 GB, free: 2.777 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.236e-05/0.5527, allocations: 11.44 kB / 1.387 GB, free: 2.766 MB / 0.8855 GB Notification: Performance of SimCode: time 4.01e-07/0.5527, allocations: 0 / 1.387 GB, free: 2.766 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01592/0.5687, allocations: 1.678 MB / 1.389 GB, free: 1.266 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003256/0.5691, allocations: 244.5 kB / 1.389 GB, free: 1.02 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.673/2.242, allocations: 1.719 kB / 1.389 GB, free: 1.02 MB / 0.8855 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