Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_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.SpecificEnthalpy_TDryBulPhi,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Psychrometrics_Validation_SpecificEnthalpy_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Psychrometrics_Validation_SpecificEnthalpy_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.006081/0.006081, allocations: 97.62 kB / 15.73 MB, free: 6.059 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.001332/0.001332, allocations: 197.3 kB / 16.68 MB, free: 5.977 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.478/2.478, allocations: 390.3 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 61.98 kB / 0.9504 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.2889, allocations: 140.4 MB / 1.087 GB, free: 2.016 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi): time 0.002012/0.291, allocations: 0.6578 MB / 1.088 GB, free: 1.355 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001894/0.2929, allocations: 1.375 MB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.251e-05/0.293, allocations: 0 / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.424e-05/0.293, allocations: 3.938 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.815e-05/0.2931, allocations: 15.92 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004651/0.2936, allocations: 99.5 kB / 1.09 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001108/0.2937, allocations: 51.84 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.2938, allocations: 8 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.165e-05/0.2939, allocations: 23.91 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.797e-05/0.294, allocations: 23.91 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.294, allocations: 4 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002909/0.2943, allocations: 147.8 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.875e-05/0.2943, allocations: 7.938 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.77e-05/0.2944, allocations: 27.91 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002642/0.2947, allocations: 127.8 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2947, allocations: 0 / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2947, allocations: 0 / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.2947, allocations: 0 / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005764/0.2953, allocations: 383.1 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.2953, allocations: 12.03 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.514e-05/0.2954, allocations: 34.75 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004326/0.2958, allocations: 32.84 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.2959, allocations: 164.4 kB / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.125e-06/0.2959, allocations: 384 / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.423e-05/0.296, allocations: 8.359 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000271/0.2963, allocations: 86.19 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.2963, allocations: 3.938 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.2963, allocations: 4 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.2963, allocations: 0 / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003031/0.2966, allocations: 75.86 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000575/0.2972, allocations: 328.6 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003164/0.2975, allocations: 70.53 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001633/0.2977, allocations: 44.84 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.2977, allocations: 4 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.2978, allocations: 30.56 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.2978, allocations: 0 / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0005523/0.2983, allocations: 129.5 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.371e-05/0.2984, allocations: 51.41 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.72e-05/0.2985, allocations: 113.8 kB / 1.091 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.2985, allocations: 29.7 kB / 1.092 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.319e-05/0.2985, allocations: 92.08 kB / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.314e-05/0.2986, allocations: 11.91 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.011e-05/0.2986, allocations: 29.64 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.659e-05/0.2987, allocations: 318.8 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.2989, allocations: 35.97 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/0.299, allocations: 27.97 kB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002985/0.2993, allocations: 68.8 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.2994, allocations: 0 / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003525/0.2997, allocations: 101.6 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.2997, allocations: 7.984 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.2997, allocations: 0 / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.2998, allocations: 4 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001669/0.2999, allocations: 19.92 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.3, allocations: 0 / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/0.3001, allocations: 19.88 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.3001, allocations: 3.984 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 5 * 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.0001006/0.3002, allocations: 119.8 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.436e-05/0.3002, allocations: 3.984 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.534e-05/0.3003, allocations: 15.91 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.3003, allocations: 0 / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.3003, allocations: 0 / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.3003, allocations: 0 / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002123/0.3005, allocations: 177.6 kB / 1.093 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.3005, allocations: 0 / 1.093 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001387/0.3007, allocations: 19.91 kB / 1.093 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.3007, allocations: 0 / 1.093 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.3007, allocations: 8 kB / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.3007, allocations: 192 / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3007, allocations: 4 kB / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004216/0.3012, allocations: 203.5 kB / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.737e-05/0.3012, allocations: 81.14 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.194e-05/0.3012, allocations: 0 / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.3014, allocations: 15.98 kB / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.3015, allocations: 8.359 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.812e-06/0.3015, allocations: 0 / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.271e-05/0.3015, allocations: 95.2 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3015, allocations: 0 / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002783/0.3018, allocations: 19.94 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (4): * Single equations (assignments): 4 * 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.0007963/0.3026, allocations: 0.748 MB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003659/0.303, allocations: 71.94 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.303, allocations: 0 / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000154/0.3032, allocations: 31.97 kB / 1.094 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003534/0.3035, allocations: 7.984 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001979/0.3055, allocations: 1.42 MB / 1.095 GB, free: 9.668 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002783/0.3058, allocations: 0.6846 MB / 1.096 GB, free: 8.957 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 9.89e-05/0.3059, allocations: 12.22 kB / 1.096 GB, free: 8.945 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.647e-05/0.306, allocations: 19.42 kB / 1.096 GB, free: 8.926 MB / 0.8575 GB Notification: Performance of SimCode: time 4.2e-07/0.306, allocations: 0 / 1.096 GB, free: 8.926 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02012/0.3261, allocations: 2.062 MB / 1.098 GB, free: 7.012 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.647/7.973, allocations: 21.62 kB / 1.098 GB, free: 6.992 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_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_SpecificEnthalpy_TDryBulPhi.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Psychrometrics_Validation_SpecificEnthalpy_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches