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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001029/0.001029, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.008572/0.008572, allocations: 170.2 kB / 16.26 MB, free: 6.613 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.305/1.305, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.496/2.496, allocations: 437.8 MB / 0.7121 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003471/0.0003471, allocations: 12.19 kB / 0.873 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6303/0.6306, allocations: 153.8 MB / 1.023 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi): time 0.0007924/0.6315, allocations: 416.5 kB / 1.024 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00167/0.6332, allocations: 1.374 MB / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.042e-05/0.6332, allocations: 0 / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.058e-05/0.6333, allocations: 3.938 kB / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.654e-05/0.6333, allocations: 7.938 kB / 1.025 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003387/0.6337, allocations: 83.69 kB / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.976e-05/0.6338, allocations: 47.84 kB / 1.025 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.294e-05/0.6338, allocations: 12 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.632e-05/0.6339, allocations: 19.92 kB / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.21e-05/0.634, allocations: 15.92 kB / 1.025 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.634, allocations: 4 kB / 1.025 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002691/0.6343, allocations: 147.7 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.66e-05/0.6343, allocations: 15.92 kB / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.766e-05/0.6343, allocations: 37.64 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002095/0.6345, allocations: 133.8 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.6346, allocations: 4 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.834e-06/0.6346, allocations: 0 / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.6346, allocations: 0 / 1.025 GB, free: 13.51 MB / 0.7794 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.0004747/0.6351, allocations: 375.4 kB / 1.026 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.6351, allocations: 8.031 kB / 1.026 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.249e-05/0.6351, allocations: 34.75 kB / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003969/0.6356, allocations: 36.8 kB / 1.026 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/0.6357, allocations: 180.2 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.6357, allocations: 4.375 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.751e-05/0.6357, allocations: 4.375 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002598/0.636, allocations: 94.12 kB / 1.026 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.636, allocations: 3.938 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.636, allocations: 0 / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.838e-06/0.636, allocations: 0 / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003009/0.6363, allocations: 83.92 kB / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000514/0.6369, allocations: 312.7 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003063/0.6372, allocations: 94.45 kB / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001513/0.6373, allocations: 36.91 kB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.492e-05/0.6374, allocations: 0 / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/0.6374, allocations: 38.56 kB / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.6374, allocations: 0 / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0005346/0.6379, allocations: 145.5 kB / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/0.638, allocations: 55.41 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.856e-05/0.6381, allocations: 121.7 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.6381, allocations: 25.7 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.661e-05/0.6381, allocations: 88.12 kB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.604e-05/0.6382, allocations: 15.75 kB / 1.027 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.87e-05/0.6382, allocations: 13.72 kB / 1.027 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.349e-05/0.6383, allocations: 322.8 kB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.6384, allocations: 35.97 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.6386, allocations: 35.97 kB / 1.027 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002778/0.6389, allocations: 80.8 kB / 1.028 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.6389, allocations: 0 / 1.028 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003329/0.6392, allocations: 117.5 kB / 1.028 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.6392, allocations: 4 kB / 1.028 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.6392, allocations: 0 / 1.028 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.6393, allocations: 3.938 kB / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.6394, allocations: 23.98 kB / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.6394, allocations: 0 / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.6396, allocations: 12.36 kB / 1.028 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.6396, allocations: 7.984 kB / 1.028 GB, free: 10.91 MB / 0.7794 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.286e-05/0.6396, allocations: 113.8 kB / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.801e-05/0.6397, allocations: 3.906 kB / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.877e-05/0.6397, allocations: 19.84 kB / 1.028 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.6397, allocations: 0 / 1.028 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.696e-06/0.6397, allocations: 0 / 1.028 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.6397, allocations: 0 / 1.028 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001698/0.6399, allocations: 181.6 kB / 1.028 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.6399, allocations: 192 / 1.028 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001311/0.6401, allocations: 27.97 kB / 1.028 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.6401, allocations: 0 / 1.028 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.6401, allocations: 0 / 1.028 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.6401, allocations: 8 kB / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.6401, allocations: 0 / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003677/0.6405, allocations: 207.4 kB / 1.028 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.738e-05/0.6405, allocations: 85 kB / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.6405, allocations: 0 / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/0.6407, allocations: 11.98 kB / 1.028 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.443e-05/0.6407, allocations: 11.94 kB / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.6407, allocations: 0 / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.319e-05/0.6408, allocations: 91.27 kB / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6408, allocations: 4 kB / 1.028 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002437/0.641, allocations: 19.94 kB / 1.028 GB, free: 10.04 MB / 0.7794 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.0006588/0.6417, allocations: 0.7592 MB / 1.029 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003237/0.642, allocations: 79.94 kB / 1.029 GB, free: 9.176 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.642, allocations: 0 / 1.029 GB, free: 9.176 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001571/0.6422, allocations: 39.95 kB / 1.029 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002968/0.6425, allocations: 11.94 kB / 1.029 GB, free: 9.125 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001795/0.6443, allocations: 1.461 MB / 1.031 GB, free: 7.586 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001936/0.6445, allocations: 0.6848 MB / 1.031 GB, free: 6.875 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001086/0.6446, allocations: 12.31 kB / 1.031 GB, free: 6.863 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.162e-05/0.6447, allocations: 19.42 kB / 1.031 GB, free: 6.844 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.6447, allocations: 0 / 1.031 GB, free: 6.844 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01145/0.6562, allocations: 1.78 MB / 1.033 GB, free: 5.25 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002258/0.6564, allocations: 234.3 kB / 1.033 GB, free: 4.996 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.775/2.432, allocations: 0 / 1.033 GB, free: 4.996 MB / 0.7794 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