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") [: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 10.0.0-master/package.mo): time 1.699/1.699, allocations: 390.4 MB / 397.7 MB, free: 11.26 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.0009164/0.0009161, allocations: 185.2 kB / 490.8 MB, free: 1.945 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.072/1.072, allocations: 221.4 MB / 0.7863 GB, free: 13.71 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.0008037/0.000804, allocations: 99.48 kB / 0.9264 GB, free: 14.23 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.58e-06/5.59e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1638, allocations: 143 MB / 1.212 GB, free: 40.16 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4435/0.6073, allocations: 150.4 MB / 1.358 GB, free: 17.58 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001633/0.6075, allocations: 72.05 kB / 1.359 GB, free: 17.58 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.005977/0.6135, allocations: 1.849 MB / 1.36 GB, free: 17.47 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.6135, allocations: 0.9688 kB / 1.36 GB, free: 17.47 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.0003362/0.6139, allocations: 375.2 kB / 1.361 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.041e-05/0.6139, allocations: 8.844 kB / 1.361 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003501/0.6143, allocations: 37.81 kB / 1.361 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.995e-05/0.6143, allocations: 166.8 kB / 1.361 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.514e-06/0.6143, allocations: 1 kB / 1.361 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.556e-05/0.6144, allocations: 2.922 kB / 1.361 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001116/0.6145, allocations: 38.33 kB / 1.361 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.698e-05/0.6146, allocations: 69.83 kB / 1.361 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.6146, allocations: 3.984 kB / 1.361 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.6146, allocations: 0 / 1.361 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.6146, allocations: 7.75 kB / 1.361 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005128/0.6151, allocations: 310.5 kB / 1.361 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001697/0.6153, allocations: 61.61 kB / 1.361 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.874e-05/0.6154, allocations: 17.56 kB / 1.361 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.215e-05/0.6154, allocations: 0.9688 kB / 1.361 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.658e-06/0.6154, allocations: 36.14 kB / 1.361 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.6154, allocations: 0 / 1.361 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001694/0.6156, allocations: 61.28 kB / 1.361 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.26e-05/0.6156, allocations: 58.34 kB / 1.362 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.286e-05/0.6157, allocations: 101.9 kB / 1.362 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.758e-06/0.6157, allocations: 25.7 kB / 1.362 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.129e-05/0.6157, allocations: 87.78 kB / 1.362 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.363e-05/0.6157, allocations: 18.89 kB / 1.362 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-06/0.6157, allocations: 0 / 1.362 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.6159, allocations: 313.4 kB / 1.362 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.135e-05/0.6159, allocations: 17.33 kB / 1.362 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.72e-05/0.6159, allocations: 14.3 kB / 1.362 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.426e-05/0.616, allocations: 16.81 kB / 1.362 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.616, allocations: 0 / 1.362 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001143/0.6161, allocations: 76.53 kB / 1.362 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.676e-06/0.6161, allocations: 4.969 kB / 1.362 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.347e-06/0.6161, allocations: 0 / 1.362 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.457e-06/0.6161, allocations: 2.047 kB / 1.362 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.6163, allocations: 25.62 kB / 1.362 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.975e-06/0.6163, allocations: 0 / 1.362 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.6164, allocations: 16.09 kB / 1.362 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.6164, allocations: 2.75 kB / 1.362 GB, free: 31.84 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 5.328e-05/0.6165, allocations: 102.6 kB / 1.362 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.74e-05/0.6165, allocations: 2.156 kB / 1.362 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.246e-05/0.6165, allocations: 17.28 kB / 1.362 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.6165, allocations: 1.094 kB / 1.362 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.6165, allocations: 0 / 1.362 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.6166, allocations: 0.6094 kB / 1.362 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000109/0.6167, allocations: 154.3 kB / 1.362 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.6167, allocations: 0 / 1.362 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001518/0.6168, allocations: 24.19 kB / 1.362 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.6168, allocations: 5.031 kB / 1.363 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.6169, allocations: 2.438 kB / 1.363 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.6169, allocations: 3.906 kB / 1.363 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.6169, allocations: 1.281 kB / 1.363 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001329/0.617, allocations: 159.4 kB / 1.363 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.579e-05/0.617, allocations: 81.47 kB / 1.363 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.6171, allocations: 0 / 1.363 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.6172, allocations: 16.39 kB / 1.363 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.941e-05/0.6172, allocations: 3.219 kB / 1.363 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.627e-06/0.6173, allocations: 2.734 kB / 1.363 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.061e-05/0.6173, allocations: 85.5 kB / 1.363 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002159/0.6175, allocations: 27.22 kB / 1.363 GB, free: 31.24 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.0001371/0.6177, allocations: 113.5 kB / 1.363 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.972e-05/0.6178, allocations: 39 kB / 1.363 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-06/0.6178, allocations: 0 / 1.363 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.047e-05/0.6178, allocations: 23.64 kB / 1.363 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001581/0.618, allocations: 5.422 kB / 1.363 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003062/0.6183, allocations: 93.44 kB / 1.363 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002153/0.6185, allocations: 0.7074 MB / 1.364 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of SimCode: time 2.21e-07/0.6185, allocations: 0 / 1.364 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of Templates: time 0.002701/0.6212, allocations: 1.133 MB / 1.365 GB, free: 30.3 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