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.001696/0.001696, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002007/0.002007, allocations: 195.6 kB / 16.53 MB, free: 6.664 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.392/1.392, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.472/2.472, allocations: 390.3 MB / 0.6647 GB, free: 280 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 59.91 kB / 0.8127 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8264/0.8278, allocations: 140.4 MB / 0.9497 GB, free: 9.215 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi): time 0.001994/0.8299, allocations: 0.6663 MB / 0.9504 GB, free: 8.703 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001653/0.8315, allocations: 1.363 MB / 0.9517 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.681e-05/0.8316, allocations: 0 / 0.9517 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.414e-05/0.8316, allocations: 3.938 kB / 0.9517 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.443e-05/0.8317, allocations: 9.984 kB / 0.9517 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004126/0.8322, allocations: 112.3 kB / 0.9518 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001005/0.8323, allocations: 47.64 kB / 0.9519 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.8324, allocations: 13.45 kB / 0.9519 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.374e-05/0.8325, allocations: 19.7 kB / 0.9519 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.802e-05/0.8326, allocations: 17.89 kB / 0.9519 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.8326, allocations: 5 kB / 0.9519 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003103/0.8329, allocations: 148.9 kB / 0.9521 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.722e-05/0.8329, allocations: 9.25 kB / 0.9521 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.174e-05/0.833, allocations: 25.36 kB / 0.9521 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002601/0.8332, allocations: 122 kB / 0.9522 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/0.8333, allocations: 0 / 0.9522 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.555e-06/0.8333, allocations: 0 / 0.9522 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.596e-06/0.8333, allocations: 1.156 kB / 0.9522 GB, free: 7.285 MB / 0.7169 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.0005861/0.8339, allocations: 383.8 kB / 0.9526 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/0.8339, allocations: 17.28 kB / 0.9526 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.419e-05/0.834, allocations: 40.14 kB / 0.9526 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004559/0.8344, allocations: 26.19 kB / 0.9527 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.8346, allocations: 174.6 kB / 0.9528 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.8346, allocations: 1.719 kB / 0.9528 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.802e-05/0.8346, allocations: 11.3 kB / 0.9528 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002715/0.8349, allocations: 81.59 kB / 0.9529 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.8349, allocations: 3.938 kB / 0.9529 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.693e-05/0.8349, allocations: 5.156 kB / 0.9529 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.8349, allocations: 0 / 0.9529 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002988/0.8352, allocations: 73.11 kB / 0.953 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005896/0.8358, allocations: 317.5 kB / 0.9533 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003242/0.8362, allocations: 76.42 kB / 0.9534 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001467/0.8363, allocations: 41.44 kB / 0.9534 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.493e-05/0.8364, allocations: 1.219 kB / 0.9534 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.8364, allocations: 35.84 kB / 0.9535 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.8364, allocations: 0 / 0.9535 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0005326/0.8369, allocations: 125.9 kB / 0.9536 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.104e-05/0.837, allocations: 56.61 kB / 0.9536 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.415e-05/0.8371, allocations: 113.7 kB / 0.9537 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.8371, allocations: 25.7 kB / 0.9538 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.893e-05/0.8371, allocations: 90.42 kB / 0.9538 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.49e-05/0.8371, allocations: 9.156 kB / 0.9539 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.067e-05/0.8372, allocations: 22.77 kB / 0.9539 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.083e-05/0.8372, allocations: 323.9 kB / 0.9542 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/0.8374, allocations: 32.66 kB / 0.9542 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001271/0.8375, allocations: 32.41 kB / 0.9543 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002595/0.8378, allocations: 74.36 kB / 0.9543 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.8378, allocations: 128 / 0.9543 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003025/0.8381, allocations: 109.6 kB / 0.9544 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.8381, allocations: 5.625 kB / 0.9544 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.8381, allocations: 0 / 0.9544 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.8382, allocations: 1.562 kB / 0.9544 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.8383, allocations: 19.23 kB / 0.9545 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.8383, allocations: 1.438 kB / 0.9545 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001006/0.8384, allocations: 13.36 kB / 0.9545 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.8384, allocations: 13.45 kB / 0.9545 GB, free: 5.145 MB / 0.7169 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 6.946e-05/0.8385, allocations: 111.9 kB / 0.9546 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.169e-05/0.8386, allocations: 6.719 kB / 0.9546 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.849e-05/0.8386, allocations: 7.906 kB / 0.9546 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.8386, allocations: 5.438 kB / 0.9546 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.8386, allocations: 0 / 0.9546 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.8386, allocations: 1.375 kB / 0.9546 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/0.8388, allocations: 179.6 kB / 0.9548 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.8388, allocations: 0 / 0.9548 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001277/0.8389, allocations: 22.94 kB / 0.9548 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.8389, allocations: 0 / 0.9548 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.8389, allocations: 1.219 kB / 0.9548 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.839, allocations: 0 / 0.9548 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.839, allocations: 1.219 kB / 0.9548 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003448/0.8393, allocations: 198.5 kB / 0.955 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.019e-05/0.8393, allocations: 90.41 kB / 0.9551 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.206e-05/0.8394, allocations: 1.375 kB / 0.9551 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.8395, allocations: 12.02 kB / 0.9551 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.499e-05/0.8395, allocations: 6.625 kB / 0.9551 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.862e-06/0.8396, allocations: 1.312 kB / 0.9551 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.908e-05/0.8396, allocations: 90.58 kB / 0.9552 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8396, allocations: 1.438 kB / 0.9552 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002579/0.8399, allocations: 21.69 kB / 0.9552 GB, free: 4.402 MB / 0.7169 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.0006309/0.8405, allocations: 0.7371 MB / 0.9559 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003203/0.8408, allocations: 75.19 kB / 0.956 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.8409, allocations: 0 / 0.956 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001354/0.841, allocations: 34.58 kB / 0.956 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003382/0.8413, allocations: 13.56 kB / 0.956 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001668/0.843, allocations: 1.43 MB / 0.9574 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001196/0.8431, allocations: 0.6843 MB / 0.9581 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001074/0.8433, allocations: 8.875 kB / 0.9581 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.082e-05/0.8433, allocations: 17.77 kB / 0.9581 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of SimCode: time 3.71e-07/0.8433, allocations: 4 kB / 0.9581 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01818/0.8615, allocations: 2.042 MB / 0.9601 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.428/8.289, allocations: 8.281 kB / 0.9601 GB, free: 0.5195 MB / 0.7169 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