Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.h_TDryBulPhi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.h_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hBulPhi.h|phi.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.h_TDryBulPhi") translateModel(Buildings.Controls.OBC.CDL.Psychrometrics.Validation.h_TDryBulPhi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hBulPhi.h|phi.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.h_TDryBulPhi") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.354/1.354, allocations: 249.4 MB / 256.7 MB, free: 7.027 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001063/0.001063, allocations: 181.3 kB / 316 MB, free: 3.57 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.536/1.536, allocations: 205.2 MB / 0.5667 GB, free: 15.65 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001082/0.001082, allocations: 99.31 kB / 0.671 GB, free: 4.773 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.917e-06/8.946e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2382/0.2383, allocations: 106.3 MB / 0.8846 GB, free: 12.67 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6473/0.8856, allocations: 133.4 MB / 1.015 GB, free: 5.629 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002325/0.8859, allocations: 72.64 kB / 1.015 GB, free: 5.59 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.007125/0.8931, allocations: 1.937 MB / 1.017 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.168e-06/0.8931, allocations: 4 kB / 1.017 GB, free: 3.945 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005427/0.8937, allocations: 385 kB / 1.017 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.8937, allocations: 12.03 kB / 1.017 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003973/0.8941, allocations: 32.67 kB / 1.017 GB, free: 3.488 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/0.8943, allocations: 167 kB / 1.017 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.8943, allocations: 4 kB / 1.017 GB, free: 3.281 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.03e-05/0.8943, allocations: 3.906 kB / 1.017 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00013/0.8945, allocations: 45.42 kB / 1.017 GB, free: 3.246 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/0.8946, allocations: 69.53 kB / 1.017 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.8946, allocations: 0 / 1.017 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.8946, allocations: 4 kB / 1.017 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.8946, allocations: 0 / 1.017 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006847/0.8953, allocations: 331.8 kB / 1.018 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001927/0.8955, allocations: 53.22 kB / 1.018 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.156e-05/0.8956, allocations: 19.92 kB / 1.018 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/0.8956, allocations: 0 / 1.018 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.8956, allocations: 38.69 kB / 1.018 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.173e-06/0.8956, allocations: 4 kB / 1.018 GB, free: 2.727 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002157/0.8959, allocations: 59.91 kB / 1.018 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.8959, allocations: 54.14 kB / 1.018 GB, free: 2.609 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.473e-05/0.896, allocations: 105.2 kB / 1.018 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.896, allocations: 25.7 kB / 1.018 GB, free: 2.473 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.422e-05/0.8961, allocations: 91.98 kB / 1.018 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.442e-05/0.8961, allocations: 10.64 kB / 1.018 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.023e-06/0.8961, allocations: 0 / 1.018 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.8963, allocations: 325.2 kB / 1.019 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.533e-05/0.8963, allocations: 14.69 kB / 1.019 GB, free: 2.039 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.93e-05/0.8964, allocations: 10.62 kB / 1.019 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.993e-05/0.8964, allocations: 15.23 kB / 1.019 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.8964, allocations: 0 / 1.019 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001273/0.8965, allocations: 69.86 kB / 1.019 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.8966, allocations: 6.5 kB / 1.019 GB, free: 1.957 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.8966, allocations: 0 / 1.019 GB, free: 1.957 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.8966, allocations: 3.938 kB / 1.019 GB, free: 1.953 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001676/0.8968, allocations: 23.98 kB / 1.019 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.537e-05/0.8968, allocations: 4.219 kB / 1.019 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001182/0.8969, allocations: 11.98 kB / 1.019 GB, free: 1.914 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.8969, allocations: 4 kB / 1.019 GB, free: 1.91 MB / 0.6355 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 7.805e-05/0.897, allocations: 109 kB / 1.019 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.152e-05/0.8971, allocations: 8.094 kB / 1.019 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.016e-05/0.8971, allocations: 7.625 kB / 1.019 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.8971, allocations: 0 / 1.019 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.8971, allocations: 4 kB / 1.019 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.8971, allocations: 0 / 1.019 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001716/0.8973, allocations: 165.2 kB / 1.019 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.8973, allocations: 0 / 1.019 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001445/0.8975, allocations: 30.66 kB / 1.019 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.8975, allocations: 0 / 1.019 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.301e-05/0.8975, allocations: 4 kB / 1.019 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.8975, allocations: 0 / 1.019 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.8975, allocations: 0 / 1.019 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001799/0.8977, allocations: 170.8 kB / 1.019 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.523e-05/0.8977, allocations: 77.11 kB / 1.019 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.581e-05/0.8978, allocations: 11.91 kB / 1.019 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000151/0.8979, allocations: 11.98 kB / 1.019 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.317e-05/0.898, allocations: 3.984 kB / 1.019 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.898, allocations: 0 / 1.019 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.5e-05/0.898, allocations: 86.84 kB / 1.019 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002562/0.8983, allocations: 20 kB / 1.019 GB, free: 1.16 MB / 0.6355 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.0001949/0.8985, allocations: 118.4 kB / 1.019 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00013/0.8986, allocations: 33.61 kB / 1.02 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.8986, allocations: 3.938 kB / 1.02 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.468e-05/0.8987, allocations: 22.36 kB / 1.02 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002156/0.8989, allocations: 4 kB / 1.02 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004143/0.8993, allocations: 101.7 kB / 1.02 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000336/0.8997, allocations: 0.7032 MB / 1.02 GB, free: 152 kB / 0.6355 GB Notification: Performance of SimCode: time 3.11e-07/0.8997, allocations: 0 / 1.02 GB, free: 152 kB / 0.6355 GB Notification: Performance of Templates: time 0.003538/0.9032, allocations: 1.176 MB / 1.021 GB, free: 14.99 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.h_TDryBulPhi.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.h_TDryBulPhi.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.h_TDryBulPhi.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.h_TDryBulPhi.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.h_TDryBulPhi.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.h_TDryBulPhi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.h_TDryBulPhi.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.h_TDryBulPhi_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Psychrometrics_Validation_h_TDryBulPhi.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.h_TDryBulPhi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches