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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008212/0.0008213, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005648/0.005648, allocations: 170.6 kB / 16.27 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.378/2.378, allocations: 390.9 MB / 0.6664 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003787/0.0003788, allocations: 12 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8478/0.8482, allocations: 142.4 MB / 0.9552 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi): time 0.0007954/0.849, allocations: 485.8 kB / 0.9556 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007748/0.8498, allocations: 0.8678 MB / 0.9565 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.464e-05/0.8499, allocations: 1.906 kB / 0.9565 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.828e-05/0.8499, allocations: 7.922 kB / 0.9565 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.192e-05/0.85, allocations: 13.78 kB / 0.9565 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001399/0.8501, allocations: 33.94 kB / 0.9565 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.472e-05/0.8502, allocations: 91.75 kB / 0.9566 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.12e-05/0.8503, allocations: 15.83 kB / 0.9566 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.087e-05/0.8504, allocations: 48.52 kB / 0.9567 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.452e-05/0.8505, allocations: 38.84 kB / 0.9567 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.8505, allocations: 3.844 kB / 0.9567 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.399e-05/0.8505, allocations: 2.812 kB / 0.9567 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.068e-05/0.8505, allocations: 22.88 kB / 0.9568 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.079e-05/0.8506, allocations: 58.61 kB / 0.9568 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.669e-05/0.8507, allocations: 80.62 kB / 0.9569 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.8507, allocations: 0 / 0.9569 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.262e-06/0.8507, allocations: 0 / 0.9569 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.397e-06/0.8507, allocations: 1.344 kB / 0.9569 GB, free: 6.438 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.0005264/0.8512, allocations: 404.2 kB / 0.9573 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.8513, allocations: 9.375 kB / 0.9573 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.526e-05/0.8513, allocations: 41.05 kB / 0.9573 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.808e-05/0.8513, allocations: 8.469 kB / 0.9573 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.854e-05/0.8514, allocations: 171.7 kB / 0.9575 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.8514, allocations: 10.84 kB / 0.9575 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/0.8515, allocations: 9.469 kB / 0.9575 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002891/0.8518, allocations: 135.1 kB / 0.9576 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.8518, allocations: 3.938 kB / 0.9576 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.8518, allocations: 0 / 0.9576 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.8518, allocations: 9.906 kB / 0.9577 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003526/0.8522, allocations: 119.9 kB / 0.9578 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004197/0.8526, allocations: 443.1 kB / 0.9582 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000357/0.853, allocations: 137.7 kB / 0.9583 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001799/0.8531, allocations: 70.61 kB / 0.9584 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.814e-05/0.8532, allocations: 5.547 kB / 0.9584 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.215e-05/0.8532, allocations: 34.56 kB / 0.9584 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.8532, allocations: 1.406 kB / 0.9584 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0006439/0.8538, allocations: 210.3 kB / 0.9586 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.328e-05/0.8539, allocations: 78.48 kB / 0.9587 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.058e-05/0.854, allocations: 139.9 kB / 0.9588 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.854, allocations: 25.7 kB / 0.9589 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.786e-05/0.854, allocations: 100.2 kB / 0.959 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.72e-05/0.854, allocations: 22.41 kB / 0.959 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.316e-05/0.8541, allocations: 15.03 kB / 0.959 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.367e-05/0.8541, allocations: 325.6 kB / 0.9593 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001748/0.8543, allocations: 52.95 kB / 0.9594 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001696/0.8545, allocations: 69.42 kB / 0.9594 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003396/0.8548, allocations: 130.8 kB / 0.9595 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.8548, allocations: 1 kB / 0.9595 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003992/0.8552, allocations: 166.9 kB / 0.9597 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.8553, allocations: 4.188 kB / 0.9597 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.8553, allocations: 1.25 kB / 0.9597 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.8553, allocations: 1 kB / 0.9597 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001607/0.8554, allocations: 33.44 kB / 0.9597 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.8555, allocations: 5.828 kB / 0.9598 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001267/0.8556, allocations: 24.39 kB / 0.9598 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.8556, allocations: 2.188 kB / 0.9598 GB, free: 3.926 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.809e-05/0.8557, allocations: 118 kB / 0.9599 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.444e-05/0.8557, allocations: 11.22 kB / 0.9599 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004986/0.8562, allocations: 212.9 kB / 0.9601 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.8562, allocations: 1.25 kB / 0.9601 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.8562, allocations: 1.031 kB / 0.9601 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.8563, allocations: 4.766 kB / 0.9601 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002014/0.8565, allocations: 211.4 kB / 0.9603 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.8565, allocations: 9 kB / 0.9603 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001604/0.8566, allocations: 32.78 kB / 0.9604 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.8566, allocations: 1.969 kB / 0.9604 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.8567, allocations: 5.031 kB / 0.9604 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.8567, allocations: 1.062 kB / 0.9604 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.8567, allocations: 0.9688 kB / 0.9604 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000419/0.8571, allocations: 351.4 kB / 0.9607 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.565e-05/0.8572, allocations: 102.4 kB / 0.9608 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.8572, allocations: 1.375 kB / 0.9608 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001877/0.8574, allocations: 20.36 kB / 0.9608 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.883e-05/0.8574, allocations: 15.98 kB / 0.9608 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.8574, allocations: 2.75 kB / 0.9608 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.683e-05/0.8575, allocations: 125.5 kB / 0.961 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8575, allocations: 0 / 0.961 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002646/0.8578, allocations: 20.5 kB / 0.961 GB, free: 2.902 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006347/0.8584, allocations: 0.8764 MB / 0.9618 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000416/0.8588, allocations: 129.6 kB / 0.962 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.8588, allocations: 4 kB / 0.962 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001997/0.8591, allocations: 75.39 kB / 0.962 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004594/0.8595, allocations: 34.17 kB / 0.9621 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002118/0.8616, allocations: 1.815 MB / 0.9638 GB, free: 448 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002126/0.8619, allocations: 0.7029 MB / 0.9645 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.184e-05/0.862, allocations: 14.86 kB / 0.9645 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.579e-05/0.8621, allocations: 30.08 kB / 0.9646 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of SimCode: time 4e-07/0.8621, allocations: 0 / 0.9646 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01177/0.8738, allocations: 2.715 MB / 0.9672 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001758/0.874, allocations: 224.5 kB / 0.9674 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.821/2.695, allocations: 1.969 kB / 0.9674 GB, free: 14.19 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/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) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Psychrometrics_Validation_WetBulb_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.WetBulb_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches