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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001467/0.001467, allocations: 108 kB / 15.6 MB, free: 132 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.001641/0.001641, allocations: 192.7 kB / 16.53 MB, free: 6.391 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.332/1.332, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.633/2.633, allocations: 469.4 MB / 0.742 GB, free: 7.742 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 67.53 kB / 0.9083 GB, free: 34.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3317, allocations: 159.1 MB / 1.064 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi): time 0.002588/0.3344, allocations: 0.664 MB / 1.064 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001907/0.3363, allocations: 1.386 MB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.599e-05/0.3364, allocations: 0 / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.268e-05/0.3364, allocations: 0 / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.309e-05/0.3366, allocations: 11.86 kB / 1.066 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004883/0.337, allocations: 103.5 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.498e-05/0.3371, allocations: 47.86 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.3373, allocations: 19.92 kB / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.387e-05/0.3373, allocations: 15.98 kB / 1.066 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.241e-05/0.3374, allocations: 23.84 kB / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.3374, allocations: 4 kB / 1.066 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003037/0.3377, allocations: 147.8 kB / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.728e-05/0.3378, allocations: 7.938 kB / 1.066 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.963e-05/0.3378, allocations: 27.84 kB / 1.066 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002585/0.3381, allocations: 123.9 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3381, allocations: 0 / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.655e-06/0.3381, allocations: 8 kB / 1.066 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.3381, allocations: 0 / 1.066 GB, free: 11.97 MB / 0.8262 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.0005668/0.3387, allocations: 375.3 kB / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.3387, allocations: 8.031 kB / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.073e-05/0.3388, allocations: 34.75 kB / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004375/0.3392, allocations: 40.8 kB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.3394, allocations: 160.4 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.3394, allocations: 4.375 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/0.3394, allocations: 4.375 kB / 1.067 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002597/0.3397, allocations: 82.12 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.3397, allocations: 3.938 kB / 1.067 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.3397, allocations: 8 kB / 1.067 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.3397, allocations: 0 / 1.067 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002922/0.34, allocations: 75.86 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005774/0.3406, allocations: 320.6 kB / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003081/0.3409, allocations: 86.45 kB / 1.067 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001432/0.3411, allocations: 36.91 kB / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.3411, allocations: 0 / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.3411, allocations: 34.56 kB / 1.067 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.3411, allocations: 0 / 1.067 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0005496/0.3417, allocations: 121.6 kB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.419e-05/0.3417, allocations: 59.34 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.595e-05/0.3418, allocations: 117.8 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.3419, allocations: 25.7 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.365e-05/0.3419, allocations: 92.03 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.864e-05/0.3419, allocations: 11.81 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.643e-05/0.342, allocations: 21.7 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.319e-05/0.3421, allocations: 314.8 kB / 1.068 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001473/0.3422, allocations: 31.97 kB / 1.068 GB, free: 9.719 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.3424, allocations: 36.09 kB / 1.068 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002712/0.3427, allocations: 73.17 kB / 1.068 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3427, allocations: 0 / 1.068 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003292/0.343, allocations: 101.6 kB / 1.068 GB, free: 9.504 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.343, allocations: 7.984 kB / 1.068 GB, free: 9.496 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.343, allocations: 3.938 kB / 1.068 GB, free: 9.492 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.3431, allocations: 4 kB / 1.068 GB, free: 9.488 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.3432, allocations: 15.98 kB / 1.068 GB, free: 9.473 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.3432, allocations: 0 / 1.068 GB, free: 9.473 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001131/0.3434, allocations: 23.83 kB / 1.068 GB, free: 9.449 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.3434, allocations: 4 kB / 1.068 GB, free: 9.445 MB / 0.8262 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.357e-05/0.3434, allocations: 110.3 kB / 1.069 GB, free: 9.328 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.284e-05/0.3435, allocations: 7.984 kB / 1.069 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.59e-05/0.3435, allocations: 7.906 kB / 1.069 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/0.3435, allocations: 0 / 1.069 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3435, allocations: 0 / 1.069 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.3435, allocations: 0 / 1.069 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001822/0.3437, allocations: 181.6 kB / 1.069 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.3437, allocations: 3.938 kB / 1.069 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001362/0.3439, allocations: 23.97 kB / 1.069 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.3439, allocations: 0 / 1.069 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.3439, allocations: 0 / 1.069 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.337e-06/0.3439, allocations: 3.938 kB / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.3439, allocations: 0 / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003633/0.3443, allocations: 199.3 kB / 1.069 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.823e-05/0.3443, allocations: 77.11 kB / 1.069 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.087e-05/0.3444, allocations: 4 kB / 1.069 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.3445, allocations: 12.05 kB / 1.069 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.31e-05/0.3445, allocations: 7.984 kB / 1.069 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.3446, allocations: 4 kB / 1.069 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.508e-05/0.3446, allocations: 91.27 kB / 1.069 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3446, allocations: 4 kB / 1.069 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002516/0.3449, allocations: 20 kB / 1.069 GB, free: 8.605 MB / 0.8262 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.0006647/0.3455, allocations: 0.7435 MB / 1.07 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003316/0.3459, allocations: 63.94 kB / 1.07 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.3459, allocations: 0 / 1.07 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001469/0.346, allocations: 36.19 kB / 1.07 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003361/0.3464, allocations: 24.28 kB / 1.07 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001844/0.3482, allocations: 1.413 MB / 1.071 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002119/0.3485, allocations: 0.6807 MB / 1.072 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001186/0.3486, allocations: 19.97 kB / 1.072 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.158e-05/0.3486, allocations: 15.42 kB / 1.072 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3487, allocations: 4 kB / 1.072 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01896/0.3676, allocations: 2.043 MB / 1.074 GB, free: 3.598 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.243/7.611, allocations: 10.77 kB / 1.074 GB, free: 3.59 MB / 0.8262 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