Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.SpecificEnthalpy_TDryBulPhi,fileNamePrefix="Buildings_latest_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_latest_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.005988/0.005988, allocations: 102.5 kB / 15.73 MB, free: 5.508 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.001348/0.001348, allocations: 195.7 kB / 16.67 MB, free: 5.438 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.457/1.457, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.973/2.973, allocations: 469.4 MB / 0.7421 GB, free: 7.551 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 67.89 kB / 1.064 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3589/0.3604, allocations: 159.1 MB / 1.22 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi): time 0.002513/0.3629, allocations: 0.6728 MB / 1.22 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002075/0.365, allocations: 1.382 MB / 1.222 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.872e-05/0.3651, allocations: 0 / 1.222 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.518e-05/0.3652, allocations: 3.938 kB / 1.222 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001032/0.3653, allocations: 11.92 kB / 1.222 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004753/0.3658, allocations: 95.56 kB / 1.222 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.813e-05/0.3659, allocations: 51.84 kB / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.366, allocations: 15.98 kB / 1.222 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.378e-05/0.3661, allocations: 19.92 kB / 1.222 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.391e-05/0.3661, allocations: 19.92 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.3662, allocations: 4 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003047/0.3665, allocations: 147.7 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.364e-05/0.3665, allocations: 15.91 kB / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.589e-05/0.3666, allocations: 19.94 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002631/0.3668, allocations: 127.5 kB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.3668, allocations: 7.984 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3669, allocations: 0 / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.3669, allocations: 0 / 1.222 GB, free: 12.04 MB / 0.9825 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.0006175/0.3675, allocations: 379.1 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.3675, allocations: 12.03 kB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.935e-05/0.3676, allocations: 34.75 kB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004312/0.368, allocations: 32.86 kB / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001623/0.3682, allocations: 180.2 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.3682, allocations: 384 / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.974e-05/0.3682, allocations: 4.375 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002778/0.3685, allocations: 82.19 kB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.3686, allocations: 3.938 kB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.3686, allocations: 4 kB / 1.223 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.3686, allocations: 4 kB / 1.223 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003039/0.3689, allocations: 75.91 kB / 1.223 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005846/0.3695, allocations: 308.7 kB / 1.223 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003162/0.3698, allocations: 82.52 kB / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001508/0.37, allocations: 36.91 kB / 1.223 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.461e-05/0.37, allocations: 0 / 1.223 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.37, allocations: 38.56 kB / 1.223 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 2.284e-06/0.37, allocations: 0 / 1.223 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0005666/0.3706, allocations: 133.4 kB / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.3707, allocations: 51.41 kB / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.252e-05/0.3708, allocations: 113.8 kB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.3708, allocations: 29.7 kB / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.603e-05/0.3709, allocations: 92.08 kB / 1.224 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.866e-05/0.3709, allocations: 11.89 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.599e-05/0.3709, allocations: 17.72 kB / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.3711, allocations: 322.8 kB / 1.224 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001479/0.3712, allocations: 35.97 kB / 1.224 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.3714, allocations: 27.97 kB / 1.224 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002735/0.3716, allocations: 65.17 kB / 1.224 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3717, allocations: 3.938 kB / 1.224 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003358/0.372, allocations: 105.6 kB / 1.224 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.372, allocations: 8 kB / 1.224 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.372, allocations: 3.938 kB / 1.224 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.372, allocations: 0 / 1.224 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/0.3722, allocations: 19.97 kB / 1.224 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.3722, allocations: 0 / 1.224 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001102/0.3723, allocations: 15.98 kB / 1.224 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.327e-06/0.3724, allocations: 0 / 1.224 GB, free: 9.52 MB / 0.9825 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 8.306e-05/0.3725, allocations: 117.8 kB / 1.225 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.226e-05/0.3725, allocations: 3.953 kB / 1.225 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.862e-05/0.3725, allocations: 7.906 kB / 1.225 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.3725, allocations: 4 kB / 1.225 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.3725, allocations: 4.172 kB / 1.225 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.3726, allocations: 192 / 1.225 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001922/0.3727, allocations: 181.5 kB / 1.225 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.3728, allocations: 8 kB / 1.225 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001299/0.3729, allocations: 15.97 kB / 1.225 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.3729, allocations: 0 / 1.225 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.224e-05/0.3729, allocations: 11.98 kB / 1.225 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.3729, allocations: 0 / 1.225 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3729, allocations: 0 / 1.225 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003776/0.3733, allocations: 195.4 kB / 1.225 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.508e-05/0.3734, allocations: 85.05 kB / 1.225 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.3734, allocations: 3.938 kB / 1.225 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.3735, allocations: 7.984 kB / 1.225 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.153e-05/0.3736, allocations: 8 kB / 1.225 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-06/0.3736, allocations: 3.984 kB / 1.225 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.248e-05/0.3737, allocations: 95.22 kB / 1.225 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3737, allocations: 0 / 1.225 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002621/0.3739, allocations: 16 kB / 1.225 GB, free: 8.664 MB / 0.9825 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.000758/0.3747, allocations: 0.7514 MB / 1.226 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003515/0.3751, allocations: 75.86 kB / 1.226 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3751, allocations: 0 / 1.226 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001527/0.3752, allocations: 36.25 kB / 1.226 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00036/0.3756, allocations: 11.92 kB / 1.226 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002003/0.3776, allocations: 1.425 MB / 1.227 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002518/0.3779, allocations: 0.6807 MB / 1.228 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.933e-05/0.378, allocations: 15.98 kB / 1.228 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.065e-05/0.3781, allocations: 19.42 kB / 1.228 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of SimCode: time 2.4e-07/0.3781, allocations: 3.938 kB / 1.228 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01838/0.3965, allocations: 2.072 MB / 1.23 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.669/8.065, allocations: 12.12 kB / 1.23 GB, free: 3.613 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Controls_OBC_CDL_Psychrometrics_Validation_SpecificEnthalpy_TDryBulPhi.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Psychrometrics_Validation_SpecificEnthalpy_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches