Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.SpecificEnthalpy_TDryBulPhi,fileNamePrefix="Buildings_10_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_10_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.008162/0.008162, allocations: 101.8 kB / 15.73 MB, free: 6.043 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.002084/0.002084, allocations: 184.9 kB / 16.67 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.437/1.437, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.631/2.631, allocations: 437.1 MB / 0.7105 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 60.12 kB / 1.018 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3033/0.3047, allocations: 151.6 MB / 1.166 GB, free: 7.371 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi): time 0.001979/0.3067, allocations: 0.6774 MB / 1.167 GB, free: 6.688 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002044/0.3088, allocations: 1.374 MB / 1.168 GB, free: 5.297 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.331e-05/0.3088, allocations: 3.938 kB / 1.168 GB, free: 5.293 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.747e-05/0.3089, allocations: 0 / 1.168 GB, free: 5.293 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.059e-05/0.309, allocations: 7.875 kB / 1.168 GB, free: 5.285 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004478/0.3094, allocations: 107.5 kB / 1.168 GB, free: 5.18 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.03e-05/0.3095, allocations: 43.86 kB / 1.168 GB, free: 5.137 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.154e-05/0.3096, allocations: 19.98 kB / 1.168 GB, free: 5.117 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.812e-05/0.3097, allocations: 15.94 kB / 1.168 GB, free: 5.102 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.379e-05/0.3097, allocations: 19.91 kB / 1.168 GB, free: 5.082 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.49e-05/0.3098, allocations: 4 kB / 1.168 GB, free: 5.078 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002732/0.31, allocations: 151.8 kB / 1.169 GB, free: 4.93 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.597e-05/0.3101, allocations: 7.938 kB / 1.169 GB, free: 4.922 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.239e-05/0.3101, allocations: 19.92 kB / 1.169 GB, free: 4.902 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000236/0.3104, allocations: 131 kB / 1.169 GB, free: 4.777 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.3104, allocations: 4 kB / 1.169 GB, free: 4.773 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3104, allocations: 8 kB / 1.169 GB, free: 4.766 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.3104, allocations: 0 / 1.169 GB, free: 4.766 MB / 0.92 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.0005049/0.3109, allocations: 371.6 kB / 1.169 GB, free: 4.352 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.483e-05/0.3109, allocations: 8.031 kB / 1.169 GB, free: 4.344 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.253e-05/0.311, allocations: 38.75 kB / 1.169 GB, free: 4.297 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004206/0.3114, allocations: 40.8 kB / 1.169 GB, free: 4.258 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.3115, allocations: 164.3 kB / 1.169 GB, free: 4.059 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.3116, allocations: 4.375 kB / 1.169 GB, free: 4.055 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.3116, allocations: 4.375 kB / 1.169 GB, free: 4.051 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002724/0.3119, allocations: 82.12 kB / 1.169 GB, free: 3.965 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.3119, allocations: 3.938 kB / 1.169 GB, free: 3.961 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/0.3119, allocations: 8 kB / 1.169 GB, free: 3.953 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.3119, allocations: 4 kB / 1.169 GB, free: 3.949 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002847/0.3122, allocations: 67.92 kB / 1.169 GB, free: 3.883 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006264/0.3129, allocations: 320.6 kB / 1.17 GB, free: 3.52 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003044/0.3132, allocations: 86.45 kB / 1.17 GB, free: 3.426 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001363/0.3133, allocations: 40.84 kB / 1.17 GB, free: 3.383 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.3133, allocations: 3.984 kB / 1.17 GB, free: 3.379 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.3134, allocations: 34.56 kB / 1.17 GB, free: 3.336 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.3134, allocations: 0 / 1.17 GB, free: 3.336 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0005075/0.3139, allocations: 125.5 kB / 1.17 GB, free: 3.207 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.3139, allocations: 55.41 kB / 1.17 GB, free: 3.141 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.711e-05/0.3141, allocations: 121.8 kB / 1.17 GB, free: 3.012 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.3141, allocations: 25.7 kB / 1.17 GB, free: 2.98 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.161e-05/0.3141, allocations: 84.22 kB / 1.17 GB, free: 2.895 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.757e-05/0.3142, allocations: 15.8 kB / 1.17 GB, free: 2.879 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.374e-05/0.3142, allocations: 21.7 kB / 1.17 GB, free: 2.852 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.3143, allocations: 314.8 kB / 1.171 GB, free: 2.535 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/0.3145, allocations: 31.97 kB / 1.171 GB, free: 2.504 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001211/0.3146, allocations: 31.97 kB / 1.171 GB, free: 2.473 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002485/0.3149, allocations: 72.8 kB / 1.171 GB, free: 2.398 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3149, allocations: 0 / 1.171 GB, free: 2.398 MB / 0.92 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003176/0.3152, allocations: 109.5 kB / 1.171 GB, free: 2.285 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.3152, allocations: 4 kB / 1.171 GB, free: 2.281 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.3152, allocations: 0 / 1.171 GB, free: 2.281 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.3152, allocations: 4 kB / 1.171 GB, free: 2.277 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.3154, allocations: 15.98 kB / 1.171 GB, free: 2.262 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.3154, allocations: 0 / 1.171 GB, free: 2.262 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/0.3155, allocations: 16.48 kB / 1.171 GB, free: 2.246 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/0.3156, allocations: 12 kB / 1.171 GB, free: 2.234 MB / 0.92 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 7.932e-05/0.3156, allocations: 113.8 kB / 1.171 GB, free: 2.113 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.066e-05/0.3157, allocations: 4 kB / 1.171 GB, free: 2.109 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.039e-05/0.3157, allocations: 11.84 kB / 1.171 GB, free: 2.09 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3157, allocations: 0 / 1.171 GB, free: 2.09 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.3157, allocations: 0 / 1.171 GB, free: 2.09 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.3157, allocations: 0 / 1.171 GB, free: 2.09 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001812/0.3159, allocations: 181.5 kB / 1.171 GB, free: 1.863 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.3159, allocations: 4 kB / 1.171 GB, free: 1.859 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001324/0.3161, allocations: 23.97 kB / 1.171 GB, free: 1.836 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.3161, allocations: 0 / 1.171 GB, free: 1.836 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.3161, allocations: 3.938 kB / 1.171 GB, free: 1.832 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.3161, allocations: 3.938 kB / 1.171 GB, free: 1.828 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3161, allocations: 0 / 1.171 GB, free: 1.828 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003455/0.3165, allocations: 195.4 kB / 1.171 GB, free: 1.621 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.555e-05/0.3165, allocations: 81.02 kB / 1.171 GB, free: 1.523 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.3165, allocations: 7.984 kB / 1.172 GB, free: 1.516 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/0.3167, allocations: 4 kB / 1.172 GB, free: 1.512 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.868e-05/0.3167, allocations: 7.984 kB / 1.172 GB, free: 1.504 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-06/0.3167, allocations: 4 kB / 1.172 GB, free: 1.5 MB / 0.92 GB Notification: Performance of sorting global known variables: time 7.424e-05/0.3168, allocations: 91.27 kB / 1.172 GB, free: 1.41 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3168, allocations: 4 kB / 1.172 GB, free: 1.406 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002603/0.3171, allocations: 20 kB / 1.172 GB, free: 1.387 MB / 0.92 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.0007094/0.3178, allocations: 0.7397 MB / 1.172 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003384/0.3181, allocations: 68.22 kB / 1.172 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3181, allocations: 0 / 1.172 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001441/0.3183, allocations: 43.89 kB / 1.172 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003631/0.3187, allocations: 18.58 kB / 1.172 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001842/0.3205, allocations: 1.418 MB / 1.174 GB, free: 15 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002427/0.3208, allocations: 0.6807 MB / 1.175 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.322e-05/0.3209, allocations: 15.94 kB / 1.175 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.945e-05/0.3209, allocations: 19.42 kB / 1.175 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of SimCode: time 2.1e-07/0.3209, allocations: 0 / 1.175 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01835/0.3393, allocations: 2.068 MB / 1.177 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.475/7.814, allocations: 9.766 kB / 1.177 GB, free: 12.33 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Psychrometrics_Validation_SpecificEnthalpy_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Psychrometrics_Validation_SpecificEnthalpy_TDryBulPhi.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Psychrometrics_Validation_SpecificEnthalpy_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches