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.0008364/0.0008364, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0008312/0.0008313, allocations: 172.7 kB / 15.95 MB, free: 208 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.382/1.382, allocations: 223.3 MB / 240 MB, free: 5.281 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.39/2.39, allocations: 390.4 MB / 0.6655 GB, free: 2.863 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003447/0.0003451, allocations: 8 kB / 0.8149 GB, free: 14.08 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7379/0.7382, allocations: 142.3 MB / 0.9539 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi): time 0.001891/0.7402, allocations: 1.605 MB / 0.9554 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1633/0.9035, allocations: 139.5 MB / 1.092 GB, free: 2.598 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001566/0.9037, allocations: 0 / 1.092 GB, free: 2.598 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001625/0.9039, allocations: 15.86 kB / 1.092 GB, free: 2.582 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002475/0.9041, allocations: 55.61 kB / 1.092 GB, free: 2.527 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004629/0.9046, allocations: 179.4 kB / 1.092 GB, free: 2.352 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002295/0.9048, allocations: 187.7 kB / 1.092 GB, free: 2.164 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001616/0.905, allocations: 52.33 kB / 1.092 GB, free: 2.113 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003904/0.9054, allocations: 159.6 kB / 1.092 GB, free: 1.957 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001263/0.9055, allocations: 75.67 kB / 1.092 GB, free: 1.883 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.121e-05/0.9056, allocations: 4 kB / 1.092 GB, free: 1.879 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003117/0.9059, allocations: 179.6 kB / 1.093 GB, free: 1.703 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.249e-05/0.9059, allocations: 19.92 kB / 1.093 GB, free: 1.684 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.805e-05/0.906, allocations: 49.64 kB / 1.093 GB, free: 1.629 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002523/0.9063, allocations: 195.5 kB / 1.093 GB, free: 1.438 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.9063, allocations: 0 / 1.093 GB, free: 1.438 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.974e-06/0.9063, allocations: 4 kB / 1.093 GB, free: 1.434 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.9063, allocations: 0 / 1.093 GB, free: 1.434 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.000849/0.9071, allocations: 483.8 kB / 1.093 GB, free: 0.9141 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.9072, allocations: 8.031 kB / 1.093 GB, free: 0.9062 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.327e-05/0.9073, allocations: 54.48 kB / 1.093 GB, free: 0.8438 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000818/0.9081, allocations: 87.7 kB / 1.093 GB, free: 0.7578 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002442/0.9083, allocations: 222.7 kB / 1.094 GB, free: 0.5 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.9084, allocations: 12.28 kB / 1.094 GB, free: 500 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.454e-05/0.9084, allocations: 20 kB / 1.094 GB, free: 480 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005151/0.9089, allocations: 257.4 kB / 1.094 GB, free: 200 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.9089, allocations: 3.938 kB / 1.094 GB, free: 196 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.394e-05/0.909, allocations: 8 kB / 1.094 GB, free: 188 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.909, allocations: 8 kB / 1.094 GB, free: 180 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005264/0.9095, allocations: 204.6 kB / 1.094 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001326/0.9109, allocations: 0.994 MB / 1.095 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004542/0.9113, allocations: 174.5 kB / 1.095 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002068/0.9115, allocations: 80.81 kB / 1.095 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.283e-05/0.9116, allocations: 11.94 kB / 1.095 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.9116, allocations: 42.5 kB / 1.095 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.283e-06/0.9116, allocations: 0 / 1.095 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.000705/0.9123, allocations: 249.3 kB / 1.096 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.381e-05/0.9124, allocations: 51.41 kB / 1.096 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002279/0.9126, allocations: 206.5 kB / 1.096 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.9126, allocations: 25.7 kB / 1.096 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.436e-05/0.9127, allocations: 139.5 kB / 1.096 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.612e-05/0.9128, allocations: 43.52 kB / 1.096 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.547e-05/0.9128, allocations: 4 kB / 1.096 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.9129, allocations: 326.8 kB / 1.096 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002292/0.9132, allocations: 75.92 kB / 1.096 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002677/0.9134, allocations: 132.1 kB / 1.097 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002862/0.9137, allocations: 95.91 kB / 1.097 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.9137, allocations: 0 / 1.097 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006103/0.9144, allocations: 262.8 kB / 1.097 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.9144, allocations: 5.25 kB / 1.097 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.9144, allocations: 8 kB / 1.097 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.9144, allocations: 0 / 1.097 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003291/0.9148, allocations: 59.88 kB / 1.097 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.525e-06/0.9148, allocations: 4 kB / 1.097 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002951/0.9151, allocations: 43.73 kB / 1.097 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.307e-05/0.9151, allocations: 7.984 kB / 1.097 GB, free: 12.82 MB / 0.8575 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.0001323/0.9152, allocations: 129.8 kB / 1.097 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.5e-05/0.9153, allocations: 19.77 kB / 1.097 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006608/0.916, allocations: 298.5 kB / 1.097 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.916, allocations: 4 kB / 1.097 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.916, allocations: 0 / 1.097 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-06/0.916, allocations: 3.984 kB / 1.097 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003194/0.9163, allocations: 289.4 kB / 1.098 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.9163, allocations: 0 / 1.098 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002705/0.9166, allocations: 51.89 kB / 1.098 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.9166, allocations: 3.953 kB / 1.098 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.177e-05/0.9166, allocations: 15.98 kB / 1.098 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.9167, allocations: 0 / 1.098 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.9167, allocations: 0 / 1.098 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005567/0.9172, allocations: 345.8 kB / 1.098 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.9173, allocations: 120.7 kB / 1.098 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.028e-05/0.9174, allocations: 11.95 kB / 1.098 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002364/0.9176, allocations: 11.98 kB / 1.098 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.745e-05/0.9177, allocations: 15.98 kB / 1.098 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-05/0.9177, allocations: 7.984 kB / 1.098 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001631/0.9179, allocations: 155 kB / 1.098 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9179, allocations: 0 / 1.098 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003193/0.9182, allocations: 52 kB / 1.099 GB, free: 11.21 MB / 0.8575 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.0009193/0.9191, allocations: 0.9038 MB / 1.099 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005402/0.9197, allocations: 208.7 kB / 1.1 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.9197, allocations: 0 / 1.1 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002357/0.9199, allocations: 113.6 kB / 1.1 GB, free: 9.973 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000413/0.9204, allocations: 52.61 kB / 1.1 GB, free: 9.922 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002021/0.9224, allocations: 1.175 MB / 1.101 GB, free: 8.691 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002753/0.9227, allocations: 0.7363 MB / 1.102 GB, free: 7.926 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002952/0.923, allocations: 53.86 kB / 1.102 GB, free: 7.871 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001331/0.9231, allocations: 59.41 kB / 1.102 GB, free: 7.812 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.9231, allocations: 0 / 1.102 GB, free: 7.812 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01508/0.9382, allocations: 4.968 MB / 1.107 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00016/0.9384, allocations: 218.8 kB / 1.107 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.793/2.732, allocations: 0 / 1.107 GB, free: 2.828 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