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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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.006943/0.006943, allocations: 95.77 kB / 15.73 MB, free: 6.039 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.001757/0.001757, allocations: 199 kB / 16.68 MB, free: 5.969 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.527/1.527, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.907/2.907, allocations: 482.4 MB / 0.7548 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001867/0.001867, allocations: 59.89 kB / 1.083 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3042/0.306, allocations: 162.2 MB / 1.241 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi): time 0.001735/0.3078, allocations: 0.6697 MB / 1.242 GB, free: 9.539 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001747/0.3096, allocations: 1.369 MB / 1.243 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.762e-05/0.3096, allocations: 0 / 1.243 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.649e-05/0.3097, allocations: 7.922 kB / 1.243 GB, free: 8.148 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.179e-05/0.3097, allocations: 7.938 kB / 1.243 GB, free: 8.141 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003685/0.3101, allocations: 107.5 kB / 1.244 GB, free: 8.035 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.103e-05/0.3102, allocations: 47.84 kB / 1.244 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.244e-05/0.3103, allocations: 8 kB / 1.244 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.864e-05/0.3104, allocations: 23.92 kB / 1.244 GB, free: 7.957 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.525e-05/0.3104, allocations: 15.92 kB / 1.244 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/0.3104, allocations: 8 kB / 1.244 GB, free: 7.934 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002891/0.3107, allocations: 155.7 kB / 1.244 GB, free: 7.781 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.782e-05/0.3108, allocations: 11.92 kB / 1.244 GB, free: 7.77 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.688e-05/0.3108, allocations: 11.94 kB / 1.244 GB, free: 7.758 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002407/0.311, allocations: 131.6 kB / 1.244 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.311, allocations: 4 kB / 1.244 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3111, allocations: 0 / 1.244 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.3111, allocations: 0 / 1.244 GB, free: 7.625 MB / 0.9981 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.0005584/0.3116, allocations: 387.1 kB / 1.244 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.808e-05/0.3117, allocations: 8.031 kB / 1.244 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.094e-05/0.3117, allocations: 34.75 kB / 1.244 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004238/0.3122, allocations: 32.89 kB / 1.244 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.3123, allocations: 180.2 kB / 1.245 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.263e-06/0.3123, allocations: 384 / 1.245 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.631e-05/0.3124, allocations: 4.375 kB / 1.245 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002597/0.3126, allocations: 86.12 kB / 1.245 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.3127, allocations: 3.938 kB / 1.245 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.3127, allocations: 4 kB / 1.245 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.3127, allocations: 0 / 1.245 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003125/0.313, allocations: 71.92 kB / 1.245 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005389/0.3135, allocations: 316.7 kB / 1.245 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003165/0.3139, allocations: 82.52 kB / 1.245 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001548/0.314, allocations: 40.84 kB / 1.245 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.3141, allocations: 4.062 kB / 1.245 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.3141, allocations: 30.56 kB / 1.245 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.3141, allocations: 0 / 1.245 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0005552/0.3147, allocations: 137.5 kB / 1.245 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.3147, allocations: 51.41 kB / 1.245 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.531e-05/0.3148, allocations: 113.8 kB / 1.245 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.3148, allocations: 25.7 kB / 1.245 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.909e-05/0.3149, allocations: 88.08 kB / 1.246 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.091e-05/0.3149, allocations: 19.89 kB / 1.246 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.372e-05/0.315, allocations: 17.72 kB / 1.246 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.3151, allocations: 322.8 kB / 1.246 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.3153, allocations: 27.97 kB / 1.246 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001417/0.3154, allocations: 35.97 kB / 1.246 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002926/0.3157, allocations: 72.73 kB / 1.246 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3157, allocations: 0 / 1.246 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003431/0.3161, allocations: 101.6 kB / 1.246 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.3161, allocations: 5.094 kB / 1.246 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.3161, allocations: 4 kB / 1.246 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.3161, allocations: 4 kB / 1.246 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.3163, allocations: 19.97 kB / 1.246 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.678e-06/0.3163, allocations: 0 / 1.246 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001039/0.3164, allocations: 7.984 kB / 1.246 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.3164, allocations: 4 kB / 1.246 GB, free: 5.094 MB / 0.9981 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.892e-05/0.3165, allocations: 113.8 kB / 1.246 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.139e-05/0.3166, allocations: 8.328 kB / 1.246 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.236e-05/0.3166, allocations: 15.89 kB / 1.246 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.3166, allocations: 0 / 1.246 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.3166, allocations: 4.125 kB / 1.246 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.3166, allocations: 3.938 kB / 1.246 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002026/0.3168, allocations: 181.6 kB / 1.247 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3168, allocations: 192 / 1.247 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001301/0.317, allocations: 15.98 kB / 1.247 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.317, allocations: 0 / 1.247 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.317, allocations: 7.969 kB / 1.247 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.317, allocations: 3.938 kB / 1.247 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.317, allocations: 4 kB / 1.247 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003911/0.3174, allocations: 195.4 kB / 1.247 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.784e-05/0.3175, allocations: 89 kB / 1.247 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.3175, allocations: 0 / 1.247 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/0.3176, allocations: 11.98 kB / 1.247 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.007e-05/0.3177, allocations: 0 / 1.247 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.347e-06/0.3177, allocations: 7.984 kB / 1.247 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.645e-05/0.3178, allocations: 91.22 kB / 1.247 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3178, allocations: 0 / 1.247 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002477/0.318, allocations: 20 kB / 1.247 GB, free: 4.234 MB / 0.9981 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.0007727/0.3188, allocations: 0.7435 MB / 1.248 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003547/0.3192, allocations: 75.86 kB / 1.248 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3192, allocations: 0 / 1.248 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001527/0.3193, allocations: 35.97 kB / 1.248 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003113/0.3196, allocations: 11.98 kB / 1.248 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002037/0.3217, allocations: 1.418 MB / 1.249 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003212/0.322, allocations: 0.6885 MB / 1.25 GB, free: 1.133 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001035/0.3221, allocations: 16.16 kB / 1.25 GB, free: 1.117 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.506e-05/0.3222, allocations: 15.42 kB / 1.25 GB, free: 1.102 MB / 0.9981 GB Notification: Performance of SimCode: time 3.31e-07/0.3222, allocations: 4 kB / 1.25 GB, free: 1.098 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5413/0.8635, allocations: 2.063 MB / 1.252 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.857/8.72, allocations: 12.23 kB / 1.252 GB, free: 14.61 MB / 0.9981 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 400 --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