Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 217.3 kB / 22.25 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.445/1.445, allocations: 230.6 MB / 256 MB, free: 7.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.818/2.818, allocations: 476.8 MB / 0.7707 GB, free: 4.23 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi,fileNamePrefix="Buildings_11_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_11_Buildings_Controls_OBC_CDL_Psychrometrics_Validation_SpecificEnthalpy_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002158/0.002158, allocations: 63.55 kB / 1.117 GB, free: 39.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3353/0.3375, allocations: 169.9 MB / 1.283 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi): time 0.002115/0.3396, allocations: 0.6903 MB / 1.284 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002078/0.3417, allocations: 1.41 MB / 1.285 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.255e-05/0.3417, allocations: 0 / 1.285 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.086e-05/0.3417, allocations: 3.938 kB / 1.285 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.458e-05/0.3418, allocations: 15.86 kB / 1.285 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000369/0.3422, allocations: 103.5 kB / 1.286 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.225e-05/0.3423, allocations: 51.8 kB / 1.286 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.315e-05/0.3424, allocations: 11.98 kB / 1.286 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.707e-05/0.3424, allocations: 19.98 kB / 1.286 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.038e-05/0.3425, allocations: 23.84 kB / 1.286 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.077e-05/0.3425, allocations: 4 kB / 1.286 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002789/0.3428, allocations: 155.7 kB / 1.286 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.498e-05/0.3428, allocations: 8 kB / 1.286 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.452e-05/0.3428, allocations: 23.84 kB / 1.286 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002314/0.343, allocations: 127.2 kB / 1.286 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.3431, allocations: 0 / 1.286 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.223e-06/0.3431, allocations: 0 / 1.286 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.3431, allocations: 0 / 1.286 GB, free: 8.953 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.0005418/0.3436, allocations: 310 kB / 1.286 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.3436, allocations: 12.03 kB / 1.286 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.126e-05/0.3437, allocations: 38.73 kB / 1.286 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004543/0.3441, allocations: 32.86 kB / 1.286 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.3443, allocations: 126.4 kB / 1.286 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.3443, allocations: 4.375 kB / 1.286 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.77e-05/0.3443, allocations: 4.375 kB / 1.286 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002647/0.3445, allocations: 78.2 kB / 1.287 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.3446, allocations: 7.922 kB / 1.287 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.3446, allocations: 0 / 1.287 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.3446, allocations: 0 / 1.287 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002909/0.3449, allocations: 79.91 kB / 1.287 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005865/0.3455, allocations: 287.8 kB / 1.287 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002931/0.3457, allocations: 82.59 kB / 1.287 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000137/0.3459, allocations: 32.83 kB / 1.287 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.376e-05/0.3459, allocations: 0 / 1.287 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.3459, allocations: 34.56 kB / 1.287 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.3459, allocations: 4 kB / 1.287 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0005144/0.3464, allocations: 121.5 kB / 1.287 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/0.3465, allocations: 51.41 kB / 1.287 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.3466, allocations: 117.8 kB / 1.287 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.3466, allocations: 33.7 kB / 1.287 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.445e-05/0.3467, allocations: 88.09 kB / 1.287 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.437e-05/0.3467, allocations: 19.84 kB / 1.287 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.496e-05/0.3467, allocations: 21.7 kB / 1.287 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.3469, allocations: 314.8 kB / 1.288 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001348/0.347, allocations: 31.97 kB / 1.288 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001276/0.3471, allocations: 31.97 kB / 1.288 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002603/0.3474, allocations: 64.8 kB / 1.288 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3474, allocations: 4 kB / 1.288 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003376/0.3477, allocations: 109.6 kB / 1.288 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.3477, allocations: 6.5 kB / 1.288 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.3477, allocations: 0 / 1.288 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.3478, allocations: 3.938 kB / 1.288 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/0.3479, allocations: 15.98 kB / 1.288 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.678e-06/0.3479, allocations: 0 / 1.288 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001062/0.348, allocations: 15.94 kB / 1.288 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.348, allocations: 3.984 kB / 1.288 GB, free: 6.613 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.882e-05/0.3481, allocations: 121.8 kB / 1.288 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.814e-05/0.3481, allocations: 0 / 1.288 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.034e-05/0.3482, allocations: 12 kB / 1.288 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.3482, allocations: 0 / 1.288 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.3482, allocations: 0 / 1.288 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.3482, allocations: 192 / 1.288 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001933/0.3484, allocations: 152.7 kB / 1.288 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3484, allocations: 3.938 kB / 1.288 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001362/0.3485, allocations: 23.97 kB / 1.288 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.3485, allocations: 0 / 1.288 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.3485, allocations: 0 / 1.288 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3485, allocations: 0 / 1.288 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3485, allocations: 0 / 1.288 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003647/0.3489, allocations: 203.4 kB / 1.289 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.573e-05/0.3489, allocations: 7.891 kB / 1.289 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.215e-05/0.3489, allocations: 8.219 kB / 1.289 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/0.3491, allocations: 4 kB / 1.289 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.984e-05/0.3491, allocations: 3.984 kB / 1.289 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.3491, allocations: 12.36 kB / 1.289 GB, free: 6 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.764e-05/0.3492, allocations: 99.14 kB / 1.289 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3492, allocations: 0 / 1.289 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002437/0.3494, allocations: 12 kB / 1.289 GB, free: 5.891 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.0007317/0.3501, allocations: 0.7436 MB / 1.289 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003258/0.3505, allocations: 71.88 kB / 1.289 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3505, allocations: 0 / 1.289 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001399/0.3506, allocations: 35.95 kB / 1.289 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003422/0.351, allocations: 13.55 kB / 1.289 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002049/0.353, allocations: 1.426 MB / 1.291 GB, free: 3.5 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/0.3533, allocations: 0.6845 MB / 1.292 GB, free: 2.789 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.904e-05/0.3534, allocations: 16.47 kB / 1.292 GB, free: 2.773 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.514e-05/0.3535, allocations: 15.42 kB / 1.292 GB, free: 2.758 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.3535, allocations: 0 / 1.292 GB, free: 2.758 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0279/0.3814, allocations: 2.173 MB / 1.294 GB, free: 0.7266 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/11.09, allocations: 7.984 kB / 1.294 GB, free: 0.7188 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Controls_OBC_CDL_Psychrometrics_Validation_SpecificEnthalpy_TDryBulPhi.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Psychrometrics_Validation_SpecificEnthalpy_TDryBulPhi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.897176681999554]