Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Psychrometrics_Validation_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Psychrometrics_Validation_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001624/0.001623, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001733/0.001733, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 223.2 MB / 239.9 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.388/2.388, allocations: 390.3 MB / 0.6653 GB, free: 3.016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005496/0.0005497, allocations: 12 kB / 0.8146 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8415/0.8421, allocations: 142.3 MB / 0.9536 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi): time 0.002039/0.8442, allocations: 1.577 MB / 0.9551 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1657/1.01, allocations: 129.5 MB / 1.082 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001763/1.01, allocations: 0 / 1.082 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001955/1.01, allocations: 19.86 kB / 1.082 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002785/1.011, allocations: 59.83 kB / 1.082 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005146/1.011, allocations: 187.5 kB / 1.082 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000206/1.011, allocations: 132.2 kB / 1.082 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001859/1.012, allocations: 60.31 kB / 1.082 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003153/1.012, allocations: 127.7 kB / 1.082 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001201/1.012, allocations: 71.67 kB / 1.082 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/1.012, allocations: 4 kB / 1.082 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003599/1.012, allocations: 187.8 kB / 1.082 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.302e-05/1.012, allocations: 23.91 kB / 1.082 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.801e-05/1.013, allocations: 53.58 kB / 1.082 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002738/1.013, allocations: 199.5 kB / 1.083 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/1.013, allocations: 0 / 1.083 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.983e-06/1.013, allocations: 0 / 1.083 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.751e-06/1.013, allocations: 0 / 1.083 GB, free: 11.71 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008841/1.014, allocations: 479 kB / 1.083 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/1.014, allocations: 8.031 kB / 1.083 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.098e-05/1.014, allocations: 54.55 kB / 1.083 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008739/1.015, allocations: 83.72 kB / 1.083 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002478/1.015, allocations: 224.2 kB / 1.083 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/1.015, allocations: 12.28 kB / 1.083 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.36e-05/1.015, allocations: 16 kB / 1.084 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005198/1.016, allocations: 265.4 kB / 1.084 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/1.016, allocations: 0 / 1.084 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.505e-05/1.016, allocations: 8 kB / 1.084 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/1.016, allocations: 4 kB / 1.084 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005444/1.016, allocations: 200.6 kB / 1.084 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001322/1.018, allocations: 1.002 MB / 1.085 GB, free: 9.199 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004533/1.018, allocations: 174.4 kB / 1.085 GB, free: 9.02 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/1.018, allocations: 7.875 kB / 1.085 GB, free: 9.012 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/1.018, allocations: 38.56 kB / 1.085 GB, free: 8.965 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=11): time 1.272e-06/1.018, allocations: 0 / 1.085 GB, free: 8.965 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11): time 0.0007169/1.019, allocations: 253.5 kB / 1.085 GB, free: 8.711 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/1.019, allocations: 55.41 kB / 1.085 GB, free: 8.645 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002367/1.019, allocations: 206.6 kB / 1.086 GB, free: 8.434 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.572e-05/1.019, allocations: 25.7 kB / 1.086 GB, free: 8.402 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/1.019, allocations: 139.5 kB / 1.086 GB, free: 8.262 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.717e-05/1.019, allocations: 43.52 kB / 1.086 GB, free: 8.219 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.421e-05/1.019, allocations: 4 kB / 1.086 GB, free: 8.215 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001206/1.019, allocations: 326.8 kB / 1.086 GB, free: 7.887 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002412/1.02, allocations: 75.94 kB / 1.086 GB, free: 7.812 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00027/1.02, allocations: 135.8 kB / 1.086 GB, free: 7.66 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002752/1.02, allocations: 85.78 kB / 1.086 GB, free: 7.578 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/1.02, allocations: 4.031 kB / 1.086 GB, free: 7.574 MB / 0.8419 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006111/1.021, allocations: 265.2 kB / 1.087 GB, free: 7.309 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/1.021, allocations: 4 kB / 1.087 GB, free: 7.305 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/1.021, allocations: 0 / 1.087 GB, free: 7.305 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/1.021, allocations: 4 kB / 1.087 GB, free: 7.301 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003371/1.021, allocations: 55.88 kB / 1.087 GB, free: 7.246 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.769e-06/1.021, allocations: 4 kB / 1.087 GB, free: 7.242 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003134/1.022, allocations: 39.89 kB / 1.087 GB, free: 7.203 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.524e-05/1.022, allocations: 11.98 kB / 1.087 GB, free: 7.191 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (20): * Single equations (assignments): 20 * 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 0.0001346/1.022, allocations: 129.7 kB / 1.087 GB, free: 7.055 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.679e-05/1.022, allocations: 23.69 kB / 1.087 GB, free: 7.031 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006981/1.022, allocations: 298.7 kB / 1.087 GB, free: 6.734 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.281e-06/1.022, allocations: 4 kB / 1.087 GB, free: 6.73 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/1.023, allocations: 0 / 1.087 GB, free: 6.73 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/1.023, allocations: 0 / 1.087 GB, free: 6.73 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003623/1.023, allocations: 285.4 kB / 1.088 GB, free: 6.402 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/1.023, allocations: 0 / 1.088 GB, free: 6.402 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002751/1.023, allocations: 59.89 kB / 1.088 GB, free: 6.344 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/1.023, allocations: 3.953 kB / 1.088 GB, free: 6.34 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.173e-05/1.023, allocations: 8 kB / 1.088 GB, free: 6.332 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/1.023, allocations: 7.984 kB / 1.088 GB, free: 6.324 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/1.023, allocations: 0 / 1.088 GB, free: 6.324 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005921/1.024, allocations: 349.2 kB / 1.088 GB, free: 5.969 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001233/1.024, allocations: 124.7 kB / 1.088 GB, free: 5.828 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.146e-05/1.024, allocations: 7.953 kB / 1.088 GB, free: 5.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002493/1.024, allocations: 15.98 kB / 1.088 GB, free: 5.805 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.195e-05/1.024, allocations: 19.98 kB / 1.088 GB, free: 5.785 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/1.024, allocations: 7.984 kB / 1.088 GB, free: 5.777 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001773/1.025, allocations: 148.2 kB / 1.088 GB, free: 5.633 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.01e-07/1.025, allocations: 0 / 1.088 GB, free: 5.633 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003358/1.025, allocations: 52 kB / 1.088 GB, free: 5.582 MB / 0.8419 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 (23): * Single equations (assignments): 23 * 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.00101/1.026, allocations: 0.8965 MB / 1.089 GB, free: 4.66 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005833/1.027, allocations: 209.1 kB / 1.089 GB, free: 4.457 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/1.027, allocations: 4.312 kB / 1.089 GB, free: 4.453 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002555/1.027, allocations: 111.9 kB / 1.089 GB, free: 4.344 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003483/1.027, allocations: 45.23 kB / 1.09 GB, free: 4.301 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002581/1.03, allocations: 1.926 MB / 1.091 GB, free: 2.309 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003482/1.03, allocations: 0.7401 MB / 1.092 GB, free: 1.539 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002993/1.03, allocations: 57.86 kB / 1.092 GB, free: 1.484 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001394/1.031, allocations: 63.39 kB / 1.092 GB, free: 1.422 MB / 0.8419 GB Notification: Performance of SimCode: time 4.61e-07/1.031, allocations: 0 / 1.092 GB, free: 1.422 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01632/1.047, allocations: 4.949 MB / 1.097 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001795/1.047, allocations: 213.6 kB / 1.097 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.798/2.845, allocations: 0 / 1.097 GB, free: 12.45 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi_res.mat --tempDir=temp_Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Psychrometrics_Validation_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Psychrometrics_Validation_TWetBul_TDryBulPhi.fmu > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi_res.mat does not exist to compare? outputFormat=mat