Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.DewPoint_TDryBulPhi,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Psychrometrics_Validation_DewPoint_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Psychrometrics_Validation_DewPoint_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.001084/0.001084, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 192.6 kB / 16.53 MB, free: 6.391 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.399/1.399, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.77/2.77, allocations: 461.9 MB / 0.7346 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 71.91 kB / 0.8992 GB, free: 36.97 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3566, allocations: 157.4 MB / 1.053 GB, free: 8.254 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi): time 0.002626/0.3593, allocations: 0.8 MB / 1.054 GB, free: 7.453 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002387/0.3617, allocations: 1.427 MB / 1.055 GB, free: 6.012 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.448e-05/0.3618, allocations: 3.938 kB / 1.055 GB, free: 6.008 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.663e-05/0.3619, allocations: 11.81 kB / 1.055 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001127/0.362, allocations: 19.8 kB / 1.055 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006348/0.3627, allocations: 119.5 kB / 1.055 GB, free: 5.859 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000174/0.3628, allocations: 103.6 kB / 1.055 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001503/0.363, allocations: 25.38 kB / 1.055 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000125/0.3631, allocations: 47.78 kB / 1.055 GB, free: 5.684 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.3633, allocations: 43.84 kB / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.267e-05/0.3633, allocations: 8 kB / 1.055 GB, free: 5.633 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003906/0.3637, allocations: 151.7 kB / 1.056 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.866e-05/0.3637, allocations: 15.98 kB / 1.056 GB, free: 5.469 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.624e-05/0.3638, allocations: 47.72 kB / 1.056 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003094/0.3641, allocations: 171.7 kB / 1.056 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3641, allocations: 0 / 1.056 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.314e-06/0.3641, allocations: 0 / 1.056 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.732e-06/0.3641, allocations: 4 kB / 1.056 GB, free: 5.25 MB / 0.8106 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.0007734/0.3649, allocations: 447 kB / 1.056 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.365, allocations: 12.62 kB / 1.056 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.069e-05/0.365, allocations: 38.73 kB / 1.056 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007474/0.3658, allocations: 68.67 kB / 1.056 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.3659, allocations: 180.2 kB / 1.057 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.3659, allocations: 384 / 1.057 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.561e-05/0.366, allocations: 8.312 kB / 1.057 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004437/0.3664, allocations: 151.8 kB / 1.057 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.3664, allocations: 3.938 kB / 1.057 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.911e-05/0.3665, allocations: 4 kB / 1.057 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.3665, allocations: 0 / 1.057 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005414/0.367, allocations: 139.8 kB / 1.057 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009572/0.368, allocations: 480.3 kB / 1.057 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001623/0.3696, allocations: 245 kB / 1.058 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002941/0.3699, allocations: 78.14 kB / 1.058 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.884e-05/0.37, allocations: 4.156 kB / 1.058 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.37, allocations: 34.56 kB / 1.058 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 4.468e-06/0.37, allocations: 3.984 kB / 1.058 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.001073/0.3711, allocations: 241.3 kB / 1.058 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.42e-05/0.3712, allocations: 81.11 kB / 1.058 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/0.3714, allocations: 145.1 kB / 1.058 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/0.3714, allocations: 25.7 kB / 1.058 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.3715, allocations: 100.3 kB / 1.058 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.685e-05/0.3716, allocations: 31.55 kB / 1.058 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.945e-05/0.3717, allocations: 29.7 kB / 1.058 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.3718, allocations: 322.7 kB / 1.059 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002771/0.3721, allocations: 63.86 kB / 1.059 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000268/0.3724, allocations: 85.59 kB / 1.059 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000532/0.3729, allocations: 129.6 kB / 1.059 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.3729, allocations: 0 / 1.059 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006151/0.3736, allocations: 177.4 kB / 1.059 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.3736, allocations: 8 kB / 1.059 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.3736, allocations: 4 kB / 1.059 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.3736, allocations: 0 / 1.059 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000258/0.3739, allocations: 31.95 kB / 1.059 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.3739, allocations: 0 / 1.059 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002037/0.3741, allocations: 27.81 kB / 1.059 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.517e-05/0.3741, allocations: 4 kB / 1.059 GB, free: 1.641 MB / 0.8106 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 0.0001183/0.3743, allocations: 131.2 kB / 1.059 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.633e-05/0.3743, allocations: 7.906 kB / 1.059 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000741/0.3751, allocations: 209.7 kB / 1.059 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.3751, allocations: 0 / 1.059 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.3751, allocations: 4 kB / 1.059 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.3751, allocations: 0.5625 kB / 1.059 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003098/0.3754, allocations: 213.5 kB / 1.06 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.3754, allocations: 4 kB / 1.06 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002724/0.3757, allocations: 35.95 kB / 1.06 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.3757, allocations: 0 / 1.06 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.3758, allocations: 0 / 1.06 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.208e-05/0.3758, allocations: 7.984 kB / 1.06 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3758, allocations: 0 / 1.06 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007835/0.3766, allocations: 370.4 kB / 1.06 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 9.21e-05/0.3767, allocations: 96.98 kB / 1.06 GB, free: 492 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.319e-05/0.3767, allocations: 4 kB / 1.06 GB, free: 488 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002503/0.377, allocations: 19.97 kB / 1.06 GB, free: 468 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.841e-05/0.377, allocations: 11.98 kB / 1.06 GB, free: 456 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.3771, allocations: 4 kB / 1.06 GB, free: 452 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.289e-05/0.3771, allocations: 119.1 kB / 1.06 GB, free: 332 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.493e-06/0.3772, allocations: 0 / 1.06 GB, free: 332 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003449/0.3775, allocations: 39.88 kB / 1.06 GB, free: 292 kB / 0.8106 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 (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 Backend phase and start with SimCode phase: time 0.001118/0.3786, allocations: 0.8873 MB / 1.061 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006407/0.3793, allocations: 139.9 kB / 1.061 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3793, allocations: 3.938 kB / 1.061 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003035/0.3796, allocations: 67.94 kB / 1.061 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000496/0.3801, allocations: 42.39 kB / 1.061 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00294/0.3831, allocations: 1.818 MB / 1.063 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002457/0.3833, allocations: 0.704 MB / 1.064 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002578/0.3836, allocations: 28.12 kB / 1.064 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.627e-05/0.3837, allocations: 27.41 kB / 1.064 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3837, allocations: 0 / 1.064 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02005/0.4037, allocations: 3.1 MB / 1.067 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.301/7.705, allocations: 4.938 kB / 1.067 GB, free: 9.473 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Psychrometrics_Validation_DewPoint_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Psychrometrics_Validation_DewPoint_TDryBulPhi.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Psychrometrics_Validation_DewPoint_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches