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/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.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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.382/2.382, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001073/0.001073, allocations: 177.1 kB / 498.1 MB, free: 5.738 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.468/1.468, allocations: 223.2 MB / 0.7948 GB, free: 17.96 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.0009306/0.0009307, allocations: 92.64 kB / 0.9346 GB, free: 6.273 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003708/0.0003711, allocations: 10.06 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3041/0.3045, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.834/5.139, allocations: 1.732 GB / 2.955 GB, free: 253.7 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004462/5.14, allocations: 97.05 kB / 2.955 GB, free: 253.7 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1627/5.302, allocations: 75.91 MB / 3.029 GB, free: 190.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.196e-06/5.302, allocations: 224 / 3.029 GB, free: 190.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 2.106e-05/5.302, allocations: 11.38 kB / 3.029 GB, free: 190.2 MB / 1.167 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.00128/5.304, allocations: 491.2 kB / 3.029 GB, free: 189.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 7.004e-05/5.304, allocations: 11.97 kB / 3.029 GB, free: 189.6 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001232/5.304, allocations: 52.48 kB / 3.029 GB, free: 189.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001003/5.305, allocations: 79.62 kB / 3.029 GB, free: 189.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004406/5.305, allocations: 223.9 kB / 3.03 GB, free: 189.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.45e-05/5.305, allocations: 15.95 kB / 3.03 GB, free: 189.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.819e-05/5.305, allocations: 19.19 kB / 3.03 GB, free: 189.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006193/5.306, allocations: 260.6 kB / 3.03 GB, free: 189 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/5.306, allocations: 3.938 kB / 3.03 GB, free: 189 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.347e-05/5.306, allocations: 5 kB / 3.03 GB, free: 189 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/5.306, allocations: 8 kB / 3.03 GB, free: 189 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006345/5.307, allocations: 200.6 kB / 3.03 GB, free: 188.8 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001862/5.309, allocations: 1.014 MB / 3.031 GB, free: 187.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000518/5.309, allocations: 179 kB / 3.031 GB, free: 187.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.625e-05/5.309, allocations: 0 / 3.031 GB, free: 187.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/5.309, allocations: 34.5 kB / 3.031 GB, free: 187.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=11): time 1.002e-06/5.309, allocations: 0 / 3.031 GB, free: 187.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=11): time 0.0008206/5.31, allocations: 253.5 kB / 3.032 GB, free: 187.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/5.31, allocations: 59.36 kB / 3.032 GB, free: 187.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002436/5.31, allocations: 183.1 kB / 3.032 GB, free: 187.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 2.851e-05/5.311, allocations: 33.02 kB / 3.032 GB, free: 187.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 8.097e-05/5.311, allocations: 133.6 kB / 3.032 GB, free: 187.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 3.698e-05/5.311, allocations: 38.83 kB / 3.032 GB, free: 187 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.744e-05/5.311, allocations: 3.312 kB / 3.032 GB, free: 187 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.542e-05/5.311, allocations: 325.5 kB / 3.032 GB, free: 186.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002518/5.311, allocations: 77.56 kB / 3.032 GB, free: 186.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000288/5.311, allocations: 138.1 kB / 3.032 GB, free: 186.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002902/5.312, allocations: 88.75 kB / 3.033 GB, free: 186.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/5.312, allocations: 4 kB / 3.033 GB, free: 186.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006634/5.312, allocations: 255.4 kB / 3.033 GB, free: 186.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.929e-05/5.312, allocations: 4 kB / 3.033 GB, free: 186.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/5.312, allocations: 4 kB / 3.033 GB, free: 186.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.818e-05/5.312, allocations: 3.953 kB / 3.033 GB, free: 186.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003782/5.313, allocations: 66.53 kB / 3.033 GB, free: 186.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/5.313, allocations: 0 / 3.033 GB, free: 186.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000389/5.313, allocations: 42.17 kB / 3.033 GB, free: 186.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.146e-05/5.313, allocations: 10.55 kB / 3.033 GB, free: 186.1 MB / 1.167 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.0001415/5.313, allocations: 129 kB / 3.033 GB, free: 186 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.054e-05/5.313, allocations: 23.75 kB / 3.033 GB, free: 186 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007585/5.314, allocations: 301.7 kB / 3.033 GB, free: 185.7 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/5.314, allocations: 7.953 kB / 3.033 GB, free: 185.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/5.314, allocations: 0 / 3.033 GB, free: 185.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/5.314, allocations: 0 / 3.033 GB, free: 185.7 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004217/5.315, allocations: 290.2 kB / 3.034 GB, free: 185.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/5.315, allocations: 0 / 3.034 GB, free: 185.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003131/5.315, allocations: 59.08 kB / 3.034 GB, free: 185.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.299e-06/5.315, allocations: 0 / 3.034 GB, free: 185.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.445e-05/5.315, allocations: 2.438 kB / 3.034 GB, free: 185.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/5.315, allocations: 7.984 kB / 3.034 GB, free: 185.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/5.315, allocations: 7.938 kB / 3.034 GB, free: 185.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005931/5.316, allocations: 348.1 kB / 3.034 GB, free: 185.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.832e-05/5.316, allocations: 100.8 kB / 3.034 GB, free: 185 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.084e-05/5.316, allocations: 3.625 kB / 3.034 GB, free: 185 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002625/5.316, allocations: 23.55 kB / 3.034 GB, free: 184.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.976e-05/5.316, allocations: 7.984 kB / 3.034 GB, free: 184.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.131e-05/5.316, allocations: 19.25 kB / 3.034 GB, free: 184.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0001582/5.316, allocations: 141.1 kB / 3.034 GB, free: 184.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.41e-07/5.316, allocations: 0 / 3.034 GB, free: 184.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.000681/5.317, allocations: 112 kB / 3.034 GB, free: 184.7 MB / 1.167 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.002178/5.319, allocations: 1.449 MB / 3.036 GB, free: 183.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0006468/5.32, allocations: 212 kB / 3.036 GB, free: 183.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/5.32, allocations: 3.938 kB / 3.036 GB, free: 183.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002606/5.32, allocations: 111.9 kB / 3.036 GB, free: 183.1 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004197/5.321, allocations: 46.3 kB / 3.036 GB, free: 183 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002513/5.323, allocations: 1.895 MB / 3.038 GB, free: 181.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002556/5.323, allocations: 0.7336 MB / 3.039 GB, free: 180.5 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0003265/5.324, allocations: 49.88 kB / 3.039 GB, free: 180.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001467/5.324, allocations: 65.58 kB / 3.039 GB, free: 180.4 MB / 1.167 GB Notification: Performance of SimCode: time 7.01e-07/5.324, allocations: 0 / 3.039 GB, free: 180.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03629/5.36, allocations: 16.12 MB / 3.055 GB, free: 164.5 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002319/5.361, allocations: 217.7 kB / 3.055 GB, free: 164.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.34/7.7, allocations: 0 / 3.055 GB, free: 164.2 MB / 1.167 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