Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_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.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Psychrometrics_Validation_WetBulb_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Psychrometrics_Validation_WetBulb_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.001378/0.001378, allocations: 99.31 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.001586/0.001586, 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.418/1.418, allocations: 223.2 MB / 239.9 MB, free: 5.332 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.557/2.557, allocations: 390.3 MB / 0.6653 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003465/0.0003466, allocations: 8 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7792/0.7796, allocations: 142.3 MB / 0.9536 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi): time 0.0007652/0.7804, allocations: 462.2 kB / 0.954 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007791/0.7812, allocations: 0.8648 MB / 0.9549 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.684e-05/0.7812, allocations: 5 kB / 0.9549 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.488e-05/0.7812, allocations: 3.938 kB / 0.9549 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.067e-05/0.7813, allocations: 28.02 kB / 0.9549 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001303/0.7815, allocations: 29.36 kB / 0.955 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.764e-05/0.7816, allocations: 55.08 kB / 0.955 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.121e-05/0.7817, allocations: 15.48 kB / 0.955 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.904e-05/0.7817, allocations: 35.47 kB / 0.9551 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.033e-05/0.7818, allocations: 47.16 kB / 0.9551 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.7818, allocations: 2.938 kB / 0.9551 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.68e-05/0.7819, allocations: 3.781 kB / 0.9551 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.803e-05/0.7819, allocations: 14.89 kB / 0.9551 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.332e-05/0.7819, allocations: 41.92 kB / 0.9552 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.212e-05/0.782, allocations: 56.8 kB / 0.9552 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.782, allocations: 0 / 0.9552 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.713e-06/0.782, allocations: 0 / 0.9552 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.782, allocations: 1.125 kB / 0.9552 GB, free: 6.812 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005373/0.7826, allocations: 408.9 kB / 0.9556 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.7826, allocations: 12.78 kB / 0.9556 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.371e-05/0.7826, allocations: 37.25 kB / 0.9557 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.853e-05/0.7827, allocations: 11.67 kB / 0.9557 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.377e-05/0.7828, allocations: 179 kB / 0.9558 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.7828, allocations: 2.875 kB / 0.9558 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.467e-05/0.7828, allocations: 8.094 kB / 0.9558 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003051/0.7831, allocations: 128.7 kB / 0.956 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.7831, allocations: 1.375 kB / 0.956 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.7831, allocations: 4 kB / 0.956 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.7832, allocations: 2.406 kB / 0.956 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003515/0.7835, allocations: 129.9 kB / 0.9561 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004554/0.784, allocations: 432.5 kB / 0.9565 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003603/0.7843, allocations: 128.3 kB / 0.9566 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.7844, allocations: 5.109 kB / 0.9566 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.366e-05/0.7844, allocations: 35.53 kB / 0.9567 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.863e-06/0.7844, allocations: 5.406 kB / 0.9567 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0006258/0.785, allocations: 202.4 kB / 0.9569 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.514e-05/0.7851, allocations: 81.64 kB / 0.9569 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.811e-05/0.7852, allocations: 140.9 kB / 0.9571 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.7852, allocations: 25.7 kB / 0.9571 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.561e-05/0.7852, allocations: 103 kB / 0.9572 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.591e-05/0.7852, allocations: 19 kB / 0.9572 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.251e-06/0.7853, allocations: 0 / 0.9572 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.261e-05/0.7853, allocations: 321.1 kB / 0.9575 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001746/0.7855, allocations: 53.58 kB / 0.9576 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001685/0.7857, allocations: 73.45 kB / 0.9576 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001684/0.7858, allocations: 62.59 kB / 0.9577 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.7858, allocations: 0 / 0.9577 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003998/0.7862, allocations: 169.3 kB / 0.9579 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.7863, allocations: 9.781 kB / 0.9579 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.7863, allocations: 0 / 0.9579 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.7863, allocations: 1.562 kB / 0.9579 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001694/0.7865, allocations: 29.88 kB / 0.9579 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.7865, allocations: 5.156 kB / 0.9579 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001254/0.7866, allocations: 20.8 kB / 0.9579 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.7866, allocations: 6.422 kB / 0.9579 GB, free: 4.402 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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 6.122e-05/0.7867, allocations: 126.1 kB / 0.9581 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.418e-05/0.7867, allocations: 6.812 kB / 0.9581 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004868/0.7872, allocations: 219.8 kB / 0.9583 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.7872, allocations: 7.172 kB / 0.9583 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.7873, allocations: 0 / 0.9583 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.7873, allocations: 4 kB / 0.9583 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002148/0.7875, allocations: 200.8 kB / 0.9585 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.7875, allocations: 3.953 kB / 0.9585 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001666/0.7877, allocations: 37.11 kB / 0.9585 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.718e-06/0.7877, allocations: 5.016 kB / 0.9585 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.7877, allocations: 1.281 kB / 0.9585 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.7877, allocations: 1.406 kB / 0.9585 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.7877, allocations: 1.438 kB / 0.9585 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004584/0.7882, allocations: 368 kB / 0.9589 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.162e-05/0.7882, allocations: 102.2 kB / 0.959 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.364e-05/0.7883, allocations: 6.141 kB / 0.959 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001885/0.7885, allocations: 19.89 kB / 0.959 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.086e-05/0.7885, allocations: 8.234 kB / 0.959 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.766e-06/0.7885, allocations: 2.344 kB / 0.959 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.387e-05/0.7886, allocations: 116.9 kB / 0.9591 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7886, allocations: 0 / 0.9591 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000282/0.7889, allocations: 19.72 kB / 0.9591 GB, free: 3.363 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (11): * Single equations (assignments): 11 * 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.0006033/0.7895, allocations: 0.9599 MB / 0.9601 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003971/0.7899, allocations: 136.3 kB / 0.9602 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.7899, allocations: 0.9688 kB / 0.9602 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000197/0.7901, allocations: 79.02 kB / 0.9603 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003154/0.7904, allocations: 20.14 kB / 0.9603 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/0.7918, allocations: 0.8992 MB / 0.9612 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001525/0.792, allocations: 0.7078 MB / 0.9619 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.886e-05/0.7921, allocations: 15.86 kB / 0.9619 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.241e-05/0.7922, allocations: 32.73 kB / 0.9619 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of SimCode: time 4.61e-07/0.7922, allocations: 5.188 kB / 0.9619 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01333/0.8055, allocations: 2.682 MB / 0.9645 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002158/0.8058, allocations: 200 kB / 0.9647 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.645/2.451, allocations: 0 / 0.9647 GB, free: 15.45 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Psychrometrics_Validation_WetBulb_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Psychrometrics_Validation_WetBulb_TDryBulPhi.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi_res.mat does not exist to compare? outputFormat=mat