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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.293/2.293, allocations: 390.3 MB / 402.8 MB, free: 6.684 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 172.8 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.675/1.675, allocations: 221.3 MB / 0.7915 GB, free: 5.398 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008758/0.0008759, allocations: 91.75 kB / 0.9317 GB, free: 5.715 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.688e-05/3.69e-05, allocations: 5.641 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4019/0.402, allocations: 143 MB / 1.219 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.058/1.46, allocations: 151.1 MB / 1.366 GB, free: 2.941 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002859/1.461, allocations: 66.72 kB / 1.366 GB, free: 2.91 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007623/1.468, allocations: 2.146 MB / 1.369 GB, free: 1.02 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.605e-06/1.468, allocations: 0 / 1.369 GB, free: 1.02 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.112e-05/1.469, allocations: 0 / 1.369 GB, free: 1.02 MB / 0.823 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.0005852/1.469, allocations: 377.3 kB / 1.369 GB, free: 0.6133 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.5e-05/1.469, allocations: 8.031 kB / 1.369 GB, free: 0.6055 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004001/1.47, allocations: 32.45 kB / 1.369 GB, free: 0.5742 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001752/1.47, allocations: 171 kB / 1.369 GB, free: 376 kB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/1.47, allocations: 4 kB / 1.369 GB, free: 372 kB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.604e-05/1.47, allocations: 8 kB / 1.369 GB, free: 364 kB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001988/1.47, allocations: 67.03 kB / 1.369 GB, free: 304 kB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/1.47, allocations: 0 / 1.369 GB, free: 304 kB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/1.47, allocations: 0 / 1.369 GB, free: 304 kB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/1.47, allocations: 0 / 1.369 GB, free: 304 kB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001259/1.47, allocations: 45.59 kB / 1.369 GB, free: 272 kB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008438/1.471, allocations: 340.4 kB / 1.37 GB, free: 15.91 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002343/1.471, allocations: 52.91 kB / 1.37 GB, free: 15.86 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.908e-05/1.471, allocations: 19.61 kB / 1.37 GB, free: 15.84 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/1.471, allocations: 144 / 1.37 GB, free: 15.84 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.73e-05/1.471, allocations: 42.55 kB / 1.37 GB, free: 15.79 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.183e-06/1.471, allocations: 0 / 1.37 GB, free: 15.79 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0002732/1.472, allocations: 67.64 kB / 1.37 GB, free: 15.73 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.192e-05/1.472, allocations: 51.41 kB / 1.37 GB, free: 15.67 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/1.472, allocations: 117.3 kB / 1.37 GB, free: 15.55 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/1.472, allocations: 25.7 kB / 1.37 GB, free: 15.52 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.503e-05/1.472, allocations: 83.58 kB / 1.37 GB, free: 15.44 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.634e-05/1.472, allocations: 19.05 kB / 1.37 GB, free: 15.43 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.752e-06/1.472, allocations: 4 kB / 1.37 GB, free: 15.42 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001565/1.472, allocations: 310.8 kB / 1.37 GB, free: 15.11 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.176e-05/1.472, allocations: 14.75 kB / 1.37 GB, free: 15.1 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.877e-05/1.472, allocations: 18.73 kB / 1.37 GB, free: 15.09 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.833e-05/1.472, allocations: 11.5 kB / 1.37 GB, free: 15.08 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/1.472, allocations: 0 / 1.37 GB, free: 15.08 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001673/1.473, allocations: 75.42 kB / 1.37 GB, free: 15.02 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/1.473, allocations: 8 kB / 1.37 GB, free: 15.01 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/1.473, allocations: 0 / 1.37 GB, free: 15.01 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/1.473, allocations: 3.953 kB / 1.37 GB, free: 15 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/1.473, allocations: 19.98 kB / 1.37 GB, free: 14.98 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/1.473, allocations: 4 kB / 1.37 GB, free: 14.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/1.473, allocations: 19.83 kB / 1.37 GB, free: 14.96 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/1.473, allocations: 4.859 kB / 1.37 GB, free: 14.96 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.381e-05/1.473, allocations: 104.4 kB / 1.371 GB, free: 14.85 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.652e-05/1.473, allocations: 8 kB / 1.371 GB, free: 14.84 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.857e-05/1.473, allocations: 7.531 kB / 1.371 GB, free: 14.84 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/1.473, allocations: 3.953 kB / 1.371 GB, free: 14.83 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/1.473, allocations: 4 kB / 1.371 GB, free: 14.83 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/1.473, allocations: 0 / 1.371 GB, free: 14.83 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002207/1.473, allocations: 175.6 kB / 1.371 GB, free: 14.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/1.473, allocations: 3.938 kB / 1.371 GB, free: 14.61 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001473/1.474, allocations: 27.91 kB / 1.371 GB, free: 14.59 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/1.474, allocations: 48 / 1.371 GB, free: 14.59 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/1.474, allocations: 8.172 kB / 1.371 GB, free: 14.58 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/1.474, allocations: 4 kB / 1.371 GB, free: 14.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/1.474, allocations: 4.328 kB / 1.371 GB, free: 14.57 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002116/1.474, allocations: 162.4 kB / 1.371 GB, free: 14.41 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.082e-05/1.474, allocations: 81.09 kB / 1.371 GB, free: 14.31 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/1.474, allocations: 0 / 1.371 GB, free: 14.31 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/1.474, allocations: 23.17 kB / 1.371 GB, free: 14.29 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.052e-05/1.474, allocations: 4 kB / 1.371 GB, free: 14.29 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/1.474, allocations: 3.953 kB / 1.371 GB, free: 14.28 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.209e-05/1.474, allocations: 90.77 kB / 1.371 GB, free: 14.2 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.474, allocations: 0 / 1.371 GB, free: 14.2 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002448/1.475, allocations: 20 kB / 1.371 GB, free: 14.18 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002589/1.475, allocations: 122.7 kB / 1.371 GB, free: 14.05 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001634/1.475, allocations: 34.67 kB / 1.371 GB, free: 14.03 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/1.475, allocations: 4 kB / 1.371 GB, free: 14.02 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.014e-05/1.475, allocations: 15.56 kB / 1.371 GB, free: 14.01 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002248/1.475, allocations: 11.73 kB / 1.371 GB, free: 14 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004327/1.476, allocations: 92.06 kB / 1.371 GB, free: 13.9 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000363/1.476, allocations: 0.6848 MB / 1.372 GB, free: 13.19 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001309/1.476, allocations: 16.22 kB / 1.372 GB, free: 13.17 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.639e-05/1.476, allocations: 15.42 kB / 1.372 GB, free: 13.16 MB / 0.8386 GB Notification: Performance of SimCode: time 2.675e-06/1.476, allocations: 0 / 1.372 GB, free: 13.16 MB / 0.8386 GB Notification: Performance of Templates: time 0.004041/1.48, allocations: 0.9224 MB / 1.373 GB, free: 12.28 MB / 0.8386 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","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.SpecificEnthalpy_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches