Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.DewPoint_TDryBulPhi,fileNamePrefix="Buildings_10_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_10_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.001459/0.001459, allocations: 108 kB / 15.61 MB, free: 152 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.001675/0.001675, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.305/1.305, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.492/2.492, allocations: 437 MB / 0.7104 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.001341, allocations: 67.89 kB / 0.8694 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5888/0.5902, allocations: 151.6 MB / 1.017 GB, free: 2.504 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi): time 0.001915/0.5922, allocations: 0.7955 MB / 1.018 GB, free: 1.711 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001622/0.5938, allocations: 1.424 MB / 1.02 GB, free: 276 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.24e-05/0.5939, allocations: 0 / 1.02 GB, free: 276 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.984e-05/0.5939, allocations: 7.875 kB / 1.02 GB, free: 268 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.794e-05/0.594, allocations: 23.73 kB / 1.02 GB, free: 244 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003907/0.5944, allocations: 115.5 kB / 1.02 GB, free: 128 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.5945, allocations: 103.6 kB / 1.02 GB, free: 24 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.5947, allocations: 37.39 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.872e-05/0.5947, allocations: 47.73 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.675e-05/0.5948, allocations: 39.84 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.049e-05/0.5949, allocations: 4 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002523/0.5951, allocations: 151.7 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.256e-05/0.5951, allocations: 19.92 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.969e-05/0.5952, allocations: 51.72 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002505/0.5955, allocations: 177.7 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.5955, allocations: 0 / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.442e-06/0.5955, allocations: 0 / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.5955, allocations: 0 / 1.02 GB, free: 15.5 MB / 0.7794 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.0006869/0.5962, allocations: 450.9 kB / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.5962, allocations: 8.031 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.496e-05/0.5963, allocations: 42.73 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000707/0.597, allocations: 64.77 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.5971, allocations: 176.1 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.5971, allocations: 12.38 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.059e-05/0.5972, allocations: 4.375 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004129/0.5976, allocations: 163.8 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.5976, allocations: 3.938 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.5976, allocations: 4 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.5976, allocations: 0 / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005327/0.5982, allocations: 135.9 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007436/0.5989, allocations: 480.4 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001539/0.6005, allocations: 241 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002707/0.6007, allocations: 81.64 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.672e-05/0.6008, allocations: 0 / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.6008, allocations: 34.56 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 9.71e-07/0.6008, allocations: 4 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0009472/0.6018, allocations: 241.3 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/0.6018, allocations: 81.11 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.6019, allocations: 142.3 kB / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.602, allocations: 25.7 kB / 1.023 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.683e-05/0.602, allocations: 96.36 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.457e-05/0.6021, allocations: 27.55 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.989e-05/0.6021, allocations: 29.7 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.923e-05/0.6022, allocations: 322.8 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002613/0.6025, allocations: 59.92 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002605/0.6027, allocations: 81.59 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005083/0.6033, allocations: 133.9 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.6033, allocations: 4 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005922/0.6039, allocations: 181.4 kB / 1.024 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.6039, allocations: 5.875 kB / 1.024 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.6039, allocations: 4 kB / 1.024 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.6039, allocations: 4 kB / 1.024 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002558/0.6042, allocations: 31.95 kB / 1.024 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.6042, allocations: 3.938 kB / 1.024 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001891/0.6044, allocations: 19.97 kB / 1.024 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.6044, allocations: 4 kB / 1.024 GB, free: 11.89 MB / 0.7794 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.0001002/0.6045, allocations: 131.2 kB / 1.024 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.799e-05/0.6046, allocations: 11.81 kB / 1.024 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007159/0.6053, allocations: 201.7 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.6053, allocations: 4 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.6053, allocations: 3.938 kB / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.6054, allocations: 4 kB / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002625/0.6056, allocations: 221.5 kB / 1.024 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.6056, allocations: 0 / 1.024 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000248/0.6059, allocations: 31.95 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.6059, allocations: 4 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.6059, allocations: 0 / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.6059, allocations: 3.984 kB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.6059, allocations: 0 / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006429/0.6066, allocations: 354.5 kB / 1.025 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.768e-05/0.6067, allocations: 108.9 kB / 1.025 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.138e-05/0.6067, allocations: 8 kB / 1.025 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002487/0.607, allocations: 19.97 kB / 1.025 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.887e-05/0.607, allocations: 7.984 kB / 1.025 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.607, allocations: 4 kB / 1.025 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.634e-05/0.6071, allocations: 118.4 kB / 1.025 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6071, allocations: 0 / 1.025 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003005/0.6074, allocations: 28 kB / 1.025 GB, free: 10.55 MB / 0.7794 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.0009275/0.6084, allocations: 0.9028 MB / 1.026 GB, free: 9.621 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005981/0.609, allocations: 139.9 kB / 1.026 GB, free: 9.484 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.609, allocations: 0 / 1.026 GB, free: 9.484 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002779/0.6093, allocations: 76.28 kB / 1.026 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004763/0.6097, allocations: 32.83 kB / 1.026 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002762/0.6125, allocations: 1.822 MB / 1.028 GB, free: 7.473 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002203/0.6127, allocations: 0.7002 MB / 1.028 GB, free: 6.746 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002286/0.613, allocations: 32.06 kB / 1.028 GB, free: 6.715 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.097e-05/0.6131, allocations: 31.34 kB / 1.028 GB, free: 6.688 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.6131, allocations: 0 / 1.028 GB, free: 6.688 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.019/0.6321, allocations: 3.093 MB / 1.031 GB, free: 3.727 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.95/7.582, allocations: 13.52 kB / 1.031 GB, free: 3.719 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Controls_OBC_CDL_Psychrometrics_Validation_DewPoint_TDryBulPhi.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Psychrometrics_Validation_DewPoint_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches