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 2.349/2.349, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001051/0.001051, allocations: 186.3 kB / 0.4901 GB, free: 2.27 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.486/1.486, allocations: 223.1 MB / 0.7992 GB, free: 14.79 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.0009869/0.0009868, allocations: 88.33 kB / 0.9396 GB, free: 1.973 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003673/0.0003674, allocations: 11.22 kB / 1.09 GB, free: 216.6 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3341/0.3345, allocations: 143 MB / 1.229 GB, free: 105.9 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1955/0.53, allocations: 150.4 MB / 1.376 GB, free: 3.309 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002694/0.5303, allocations: 83.88 kB / 1.376 GB, free: 3.227 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004303/0.5347, allocations: 1.516 MB / 1.378 GB, free: 1.707 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.786e-06/0.5347, allocations: 0 / 1.378 GB, free: 1.707 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.5347, allocations: 0 / 1.378 GB, free: 1.707 MB / 0.8698 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.0003535/0.5351, allocations: 336.4 kB / 1.378 GB, free: 1.332 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.5351, allocations: 8.562 kB / 1.378 GB, free: 1.324 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.284e-05/0.5352, allocations: 34.55 kB / 1.378 GB, free: 1.281 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002045/0.5354, allocations: 27.94 kB / 1.378 GB, free: 1.254 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.5355, allocations: 163.1 kB / 1.378 GB, free: 1.055 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.5355, allocations: 0 / 1.378 GB, free: 1.055 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.5356, allocations: 4 kB / 1.378 GB, free: 1.051 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.5357, allocations: 37.69 kB / 1.378 GB, free: 1.008 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.5357, allocations: 3.984 kB / 1.378 GB, free: 1.004 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.5357, allocations: 8 kB / 1.378 GB, free: 0.9961 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.5357, allocations: 0 / 1.378 GB, free: 0.9961 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.206e-05/0.5358, allocations: 15.94 kB / 1.378 GB, free: 0.9805 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001757/0.536, allocations: 161.6 kB / 1.378 GB, free: 0.7734 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001978/0.538, allocations: 274.5 kB / 1.379 GB, free: 0.4961 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.538, allocations: 0 / 1.379 GB, free: 0.4961 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.538, allocations: 32.22 kB / 1.379 GB, free: 468 kB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 1.403e-06/0.538, allocations: 0 / 1.379 GB, free: 468 kB / 0.8698 GB Notification: Performance of matching and sorting (n=4): time 0.0001831/0.5382, allocations: 69.62 kB / 1.379 GB, free: 392 kB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.5383, allocations: 51.41 kB / 1.379 GB, free: 328 kB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.904e-05/0.5383, allocations: 88.98 kB / 1.379 GB, free: 232 kB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.5384, allocations: 33.83 kB / 1.379 GB, free: 192 kB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 2.66e-05/0.5384, allocations: 84.08 kB / 1.379 GB, free: 104 kB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.517e-05/0.5384, allocations: 7.844 kB / 1.379 GB, free: 96 kB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-06/0.5384, allocations: 4 kB / 1.379 GB, free: 92 kB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.5386, allocations: 314.8 kB / 1.379 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.211e-05/0.5386, allocations: 12 kB / 1.379 GB, free: 15.76 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.764e-05/0.5386, allocations: 7.984 kB / 1.379 GB, free: 15.75 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.549e-05/0.5387, allocations: 8 kB / 1.379 GB, free: 15.75 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.5387, allocations: 0 / 1.379 GB, free: 15.75 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.936e-05/0.5388, allocations: 65.53 kB / 1.379 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.5388, allocations: 4 kB / 1.379 GB, free: 15.67 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.289e-06/0.5388, allocations: 0 / 1.379 GB, free: 15.67 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.5388, allocations: 0 / 1.379 GB, free: 15.67 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.309e-05/0.5389, allocations: 8 kB / 1.379 GB, free: 15.66 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.5389, allocations: 0 / 1.379 GB, free: 15.66 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.279e-05/0.5389, allocations: 3.938 kB / 1.379 GB, free: 15.66 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.539, allocations: 4 kB / 1.379 GB, free: 15.66 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 8.19e-05/0.539, allocations: 117.8 kB / 1.38 GB, free: 15.53 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.808e-06/0.5391, allocations: 4 kB / 1.38 GB, free: 15.53 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.105e-05/0.5391, allocations: 7.5 kB / 1.38 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.5391, allocations: 336 / 1.38 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.5391, allocations: 4 kB / 1.38 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.5391, allocations: 0 / 1.38 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001192/0.5392, allocations: 161.6 kB / 1.38 GB, free: 15.31 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.5392, allocations: 0 / 1.38 GB, free: 15.31 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.938e-05/0.5393, allocations: 7.984 kB / 1.38 GB, free: 15.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.5393, allocations: 0 / 1.38 GB, free: 15.3 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.5393, allocations: 4 kB / 1.38 GB, free: 15.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.5393, allocations: 3.938 kB / 1.38 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5393, allocations: 4 kB / 1.38 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001152/0.5395, allocations: 77.12 kB / 1.38 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 7.153e-05/0.5395, allocations: 85.05 kB / 1.38 GB, free: 15.09 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.5396, allocations: 4 kB / 1.38 GB, free: 15.09 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.961e-05/0.5396, allocations: 0 / 1.38 GB, free: 15.09 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.439e-05/0.5397, allocations: 0 / 1.38 GB, free: 15.09 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.513e-06/0.5397, allocations: 7.938 kB / 1.38 GB, free: 15.08 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.952e-05/0.5397, allocations: 87.28 kB / 1.38 GB, free: 15 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5397, allocations: 0 / 1.38 GB, free: 15 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000183/0.5399, allocations: 4 kB / 1.38 GB, free: 14.99 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 (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.0004377/0.5404, allocations: 0.6248 MB / 1.381 GB, free: 14.34 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001004/0.5405, allocations: 20.08 kB / 1.381 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.5405, allocations: 4 kB / 1.381 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 2.411e-05/0.5405, allocations: 15.94 kB / 1.381 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002125/0.5407, allocations: 15.98 kB / 1.381 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000443/0.5412, allocations: 154.2 kB / 1.381 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002562/0.5415, allocations: 0.6848 MB / 1.381 GB, free: 13.38 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 5.176e-05/0.5415, allocations: 0 / 1.381 GB, free: 13.38 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.767e-05/0.5416, allocations: 15.44 kB / 1.382 GB, free: 13.36 MB / 0.8855 GB Notification: Performance of SimCode: time 5.41e-07/0.5416, allocations: 0 / 1.382 GB, free: 13.36 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01299/0.5546, allocations: 1.082 MB / 1.383 GB, free: 12.43 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001941/0.5548, allocations: 200 kB / 1.383 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.596/2.151, allocations: 4 kB / 1.383 GB, free: 12.18 MB / 0.8855 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