Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.DewPoint_TDryBulPhi,fileNamePrefix="Buildings_9_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_9_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.001666/0.001666, 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.001878/0.001878, allocations: 196.7 kB / 16.53 MB, free: 6.699 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.491/1.491, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.699/2.699, allocations: 390.3 MB / 0.6647 GB, free: 472 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001632/0.001633, allocations: 63.89 kB / 0.8126 GB, free: 14.37 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7982/0.7999, allocations: 140.4 MB / 0.9497 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi): time 0.002055/0.802, allocations: 0.7907 MB / 0.9505 GB, free: 8.578 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001582/0.8036, allocations: 1.417 MB / 0.9519 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.864e-05/0.8036, allocations: 1.188 kB / 0.9519 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.265e-05/0.8037, allocations: 7.875 kB / 0.9519 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.725e-05/0.8038, allocations: 22.38 kB / 0.9519 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003737/0.8042, allocations: 123.5 kB / 0.952 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001097/0.8043, allocations: 102.5 kB / 0.9521 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.8044, allocations: 21.83 kB / 0.9522 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.139e-05/0.8045, allocations: 50.5 kB / 0.9522 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.477e-05/0.8046, allocations: 45.89 kB / 0.9522 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.131e-05/0.8046, allocations: 6.719 kB / 0.9523 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002554/0.8049, allocations: 156.5 kB / 0.9524 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.065e-05/0.8049, allocations: 18.45 kB / 0.9524 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.386e-05/0.805, allocations: 45.89 kB / 0.9525 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000247/0.8052, allocations: 175.2 kB / 0.9526 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.8052, allocations: 1.531 kB / 0.9526 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.523e-06/0.8052, allocations: 0 / 0.9526 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.8052, allocations: 0 / 0.9526 GB, free: 6.941 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.0006565/0.8059, allocations: 449.8 kB / 0.9531 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.8059, allocations: 13.16 kB / 0.9531 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.09e-05/0.806, allocations: 36.91 kB / 0.9531 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007347/0.8067, allocations: 64.08 kB / 0.9532 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.8068, allocations: 189.9 kB / 0.9533 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.8069, allocations: 6.781 kB / 0.9534 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.692e-05/0.8069, allocations: 8.078 kB / 0.9534 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004659/0.8074, allocations: 150.7 kB / 0.9535 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.8074, allocations: 3.938 kB / 0.9535 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.231e-05/0.8074, allocations: 1.156 kB / 0.9535 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.8074, allocations: 2.219 kB / 0.9535 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005901/0.808, allocations: 146.5 kB / 0.9537 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007955/0.8088, allocations: 469.4 kB / 0.9541 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001591/0.8104, allocations: 245.2 kB / 0.9543 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002826/0.8107, allocations: 72.16 kB / 0.9544 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.966e-05/0.8108, allocations: 6.469 kB / 0.9544 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/0.8108, allocations: 31.66 kB / 0.9544 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.923e-06/0.8108, allocations: 4 kB / 0.9544 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.00101/0.8118, allocations: 239.6 kB / 0.9547 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.879e-05/0.8119, allocations: 78.17 kB / 0.9547 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.812, allocations: 153.1 kB / 0.9549 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.812, allocations: 30.8 kB / 0.9549 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.354e-05/0.812, allocations: 86.84 kB / 0.955 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.397e-05/0.8121, allocations: 31.11 kB / 0.955 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.82e-05/0.8121, allocations: 24.83 kB / 0.9551 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.677e-05/0.8122, allocations: 329.2 kB / 0.9554 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002557/0.8124, allocations: 58.69 kB / 0.9554 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002481/0.8127, allocations: 75.16 kB / 0.9555 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004975/0.8132, allocations: 143.7 kB / 0.9556 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.8132, allocations: 0 / 0.9556 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005665/0.8138, allocations: 172.8 kB / 0.9558 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.8138, allocations: 3.5 kB / 0.9558 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.8138, allocations: 7.984 kB / 0.9558 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.8138, allocations: 3.562 kB / 0.9558 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002476/0.8141, allocations: 33.53 kB / 0.9558 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.848e-06/0.8141, allocations: 3.984 kB / 0.9559 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001932/0.8143, allocations: 18.14 kB / 0.9559 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.765e-05/0.8143, allocations: 6.141 kB / 0.9559 GB, free: 4.164 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 9.059e-05/0.8144, allocations: 126.5 kB / 0.956 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.14e-05/0.8145, allocations: 12 kB / 0.956 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007374/0.8152, allocations: 208 kB / 0.9562 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.8152, allocations: 1.781 kB / 0.9562 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.8153, allocations: 0 / 0.9562 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.8153, allocations: 4 kB / 0.9562 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002571/0.8155, allocations: 224.8 kB / 0.9564 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.8155, allocations: 0 / 0.9564 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002453/0.8158, allocations: 38.27 kB / 0.9565 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.8158, allocations: 1.312 kB / 0.9565 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.8158, allocations: 5.234 kB / 0.9565 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.8158, allocations: 1.344 kB / 0.9565 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.8158, allocations: 0 / 0.9565 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006126/0.8165, allocations: 358.1 kB / 0.9568 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.079e-05/0.8165, allocations: 107.4 kB / 0.9569 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.013e-05/0.8166, allocations: 1.188 kB / 0.9569 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002486/0.8168, allocations: 18.2 kB / 0.9569 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.313e-05/0.8169, allocations: 7.766 kB / 0.9569 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.531e-05/0.8169, allocations: 6.641 kB / 0.9569 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.828e-05/0.817, allocations: 121.1 kB / 0.9571 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.817, allocations: 0 / 0.9571 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003217/0.8173, allocations: 25.34 kB / 0.9571 GB, free: 3.105 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 (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.0008519/0.8181, allocations: 0.8936 MB / 0.958 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000599/0.8188, allocations: 150 kB / 0.9581 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.8188, allocations: 1.469 kB / 0.9581 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002885/0.8191, allocations: 72.8 kB / 0.9582 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004784/0.8195, allocations: 32.66 kB / 0.9582 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002656/0.8222, allocations: 1.829 MB / 0.96 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001688/0.8224, allocations: 0.6974 MB / 0.9607 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000236/0.8226, allocations: 28.34 kB / 0.9607 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.1e-05/0.8227, allocations: 25.89 kB / 0.9607 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of SimCode: time 5.21e-07/0.8227, allocations: 0 / 0.9607 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01944/0.8422, allocations: 3.097 MB / 0.9637 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.799/8.641, allocations: 8.312 kB / 0.9638 GB, free: 14.23 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Controls_OBC_CDL_Psychrometrics_Validation_DewPoint_TDryBulPhi.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Psychrometrics_Validation_DewPoint_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.DewPoint_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches