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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: translateModel(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hBulPhi.h|phi.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi") translateModel(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hBulPhi.h|phi.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001685/0.001685, allocations: 104.1 kB / 15.88 MB, free: 4 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.002014/0.002014, allocations: 196.3 kB / 16.79 MB, free: 6.832 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.391/1.391, allocations: 222.9 MB / 240.5 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.8/2.8, allocations: 461.9 MB / 0.7348 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 64.45 kB / 0.8991 GB, free: 37.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.289, allocations: 157.4 MB / 1.053 GB, free: 8.301 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi): time 0.002112/0.2912, allocations: 0.7209 MB / 1.053 GB, free: 7.578 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001843/0.293, allocations: 1.396 MB / 1.055 GB, free: 6.168 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.324e-05/0.2931, allocations: 0 / 1.055 GB, free: 6.168 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.091e-05/0.2931, allocations: 0 / 1.055 GB, free: 6.168 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.463e-05/0.2932, allocations: 11.92 kB / 1.055 GB, free: 6.156 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000377/0.2936, allocations: 91.64 kB / 1.055 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.6e-05/0.2937, allocations: 51.78 kB / 1.055 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.976e-05/0.2938, allocations: 8 kB / 1.055 GB, free: 6.008 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.674e-05/0.2939, allocations: 15.98 kB / 1.055 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.463e-05/0.2939, allocations: 19.86 kB / 1.055 GB, free: 5.973 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.2939, allocations: 4 kB / 1.055 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003019/0.2942, allocations: 155.7 kB / 1.055 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.789e-05/0.2943, allocations: 7.984 kB / 1.055 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.394e-05/0.2943, allocations: 19.86 kB / 1.055 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001953/0.2945, allocations: 92.09 kB / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2945, allocations: 0 / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2945, allocations: 0 / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.2945, allocations: 0 / 1.055 GB, free: 5.699 MB / 0.8106 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.0005846/0.2951, allocations: 379.3 kB / 1.056 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.2952, allocations: 19.97 kB / 1.056 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004577/0.2956, allocations: 24.91 kB / 1.056 GB, free: 5.234 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.2958, allocations: 180.3 kB / 1.056 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.2958, allocations: 4.359 kB / 1.056 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.571e-05/0.2958, allocations: 8.312 kB / 1.056 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002816/0.2961, allocations: 82.2 kB / 1.056 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.2961, allocations: 192 / 1.056 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.2962, allocations: 3.938 kB / 1.056 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.2962, allocations: 0 / 1.056 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003207/0.2965, allocations: 71.92 kB / 1.056 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000604/0.2971, allocations: 324.5 kB / 1.056 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003331/0.2975, allocations: 86.45 kB / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001471/0.2976, allocations: 36.91 kB / 1.056 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.2976, allocations: 0 / 1.056 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.2977, allocations: 38.5 kB / 1.056 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.2977, allocations: 0 / 1.056 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0005594/0.2982, allocations: 129.5 kB / 1.057 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.384e-05/0.2983, allocations: 55.34 kB / 1.057 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.149e-05/0.2984, allocations: 113.8 kB / 1.057 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.2984, allocations: 25.7 kB / 1.057 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.792e-05/0.2985, allocations: 92.05 kB / 1.057 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.905e-05/0.2985, allocations: 11.81 kB / 1.057 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.894e-05/0.2986, allocations: 17.7 kB / 1.057 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.2987, allocations: 330.8 kB / 1.057 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.2988, allocations: 27.97 kB / 1.057 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.299, allocations: 31.97 kB / 1.057 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00027/0.2993, allocations: 64.81 kB / 1.057 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2993, allocations: 0 / 1.057 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003402/0.2996, allocations: 105.6 kB / 1.057 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.2996, allocations: 8 kB / 1.057 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.2997, allocations: 0 / 1.057 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.2997, allocations: 0 / 1.057 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/0.2998, allocations: 23.97 kB / 1.057 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.2999, allocations: 0 / 1.057 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.3, allocations: 7.938 kB / 1.057 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.665e-05/0.3, allocations: 11.97 kB / 1.057 GB, free: 3.203 MB / 0.8106 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 9.243e-05/0.3001, allocations: 113.8 kB / 1.058 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.689e-05/0.3001, allocations: 7.906 kB / 1.058 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.229e-05/0.3002, allocations: 7.906 kB / 1.058 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.3002, allocations: 0 / 1.058 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.3002, allocations: 8 kB / 1.058 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.3002, allocations: 0 / 1.058 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002002/0.3004, allocations: 181.6 kB / 1.058 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3004, allocations: 0 / 1.058 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000143/0.3006, allocations: 15.98 kB / 1.058 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.3006, allocations: 4.125 kB / 1.058 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.3006, allocations: 4 kB / 1.058 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.3006, allocations: 4 kB / 1.058 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.285e-05/0.3006, allocations: 3.984 kB / 1.058 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000393/0.301, allocations: 211.8 kB / 1.058 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.39e-05/0.3011, allocations: 81.11 kB / 1.058 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/0.3011, allocations: 0 / 1.058 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/0.3012, allocations: 7.984 kB / 1.058 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.633e-05/0.3013, allocations: 11.94 kB / 1.058 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.3013, allocations: 0 / 1.058 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.872e-05/0.3014, allocations: 91.27 kB / 1.058 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3014, allocations: 0 / 1.058 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002624/0.3016, allocations: 24 kB / 1.058 GB, free: 2.344 MB / 0.8106 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.0001735/0.3018, allocations: 111.2 kB / 1.058 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003294/0.3022, allocations: 75.92 kB / 1.058 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3022, allocations: 0 / 1.058 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001451/0.3023, allocations: 27.97 kB / 1.058 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003523/0.3027, allocations: 17.16 kB / 1.058 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005002/0.3032, allocations: 198.4 kB / 1.059 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002465/0.3035, allocations: 0.6809 MB / 1.059 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.826e-05/0.3035, allocations: 15.42 kB / 1.059 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of SimCode: time 6.01e-07/0.3035, allocations: 0 / 1.059 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of Templates: time 0.002678/0.3062, allocations: 1.129 MB / 1.06 GB, free: 36 kB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.makefile (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 & ./Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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.mat","/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