Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O") [: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 9.1.1-maint.9.1.x/package.mo): time 1.759/1.759, allocations: 387.2 MB / 394.5 MB, free: 13.61 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.0009408/0.0009408, allocations: 189.2 kB / 487 MB, free: 5.332 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.129/1.129, allocations: 221.3 MB / 0.7819 GB, free: 1.301 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008228/0.0008228, allocations: 88.69 kB / 0.9213 GB, free: 2.559 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.112e-06/6.132e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1921/0.1921, allocations: 142.3 MB / 1.205 GB, free: 26.2 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5245/0.7166, allocations: 148 MB / 1.35 GB, free: 16.18 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001818/0.7168, allocations: 66.28 kB / 1.35 GB, free: 16.18 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.002078/0.7189, allocations: 0.779 MB / 1.351 GB, free: 16.12 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.719, allocations: 1.281 kB / 1.351 GB, free: 16.12 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0002096/0.7192, allocations: 350.1 kB / 1.351 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.7192, allocations: 10.33 kB / 1.351 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.013e-05/0.7193, allocations: 8.344 kB / 1.351 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.7194, allocations: 180.4 kB / 1.351 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.7194, allocations: 2.438 kB / 1.351 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/0.7194, allocations: 11.59 kB / 1.351 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.247e-05/0.7195, allocations: 32.97 kB / 1.351 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/0.7196, allocations: 79.44 kB / 1.351 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.7196, allocations: 1.5 kB / 1.351 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.7196, allocations: 0 / 1.351 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.7196, allocations: 1.5 kB / 1.351 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003928/0.72, allocations: 416 kB / 1.352 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.285e-05/0.7201, allocations: 33.03 kB / 1.352 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.802e-05/0.7201, allocations: 23.7 kB / 1.352 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 6.713e-06/0.7201, allocations: 1.281 kB / 1.352 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.518e-05/0.7201, allocations: 39.78 kB / 1.352 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.7202, allocations: 0 / 1.352 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001343/0.7203, allocations: 42.61 kB / 1.352 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.891e-05/0.7203, allocations: 82.48 kB / 1.352 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.275e-05/0.7204, allocations: 118 kB / 1.352 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 6.833e-06/0.7204, allocations: 25.7 kB / 1.352 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.168e-05/0.7204, allocations: 109.2 kB / 1.352 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 6.292e-06/0.7205, allocations: 6.891 kB / 1.352 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.054e-06/0.7205, allocations: 0 / 1.352 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.782e-05/0.7205, allocations: 318.6 kB / 1.352 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.361e-05/0.7205, allocations: 6.25 kB / 1.352 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.804e-05/0.7205, allocations: 23.25 kB / 1.352 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.955e-05/0.7206, allocations: 9.344 kB / 1.352 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.7206, allocations: 0 / 1.352 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.417e-05/0.7206, allocations: 53.28 kB / 1.352 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.368e-06/0.7207, allocations: 4.125 kB / 1.352 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.7207, allocations: 3.75 kB / 1.352 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.7207, allocations: 0 / 1.352 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.946e-05/0.7207, allocations: 11.59 kB / 1.352 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.7208, allocations: 4.062 kB / 1.352 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.334e-05/0.7208, allocations: 10.44 kB / 1.353 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-06/0.7208, allocations: 1.344 kB / 1.353 GB, free: 14.3 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 3.556e-05/0.7208, allocations: 103.8 kB / 1.353 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.136e-05/0.7209, allocations: 6.469 kB / 1.353 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.313e-05/0.7209, allocations: 10.28 kB / 1.353 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.7209, allocations: 1.281 kB / 1.353 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.7209, allocations: 0 / 1.353 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.7209, allocations: 2.922 kB / 1.353 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002227/0.7212, allocations: 445.3 kB / 1.353 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.7212, allocations: 1.281 kB / 1.353 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.814e-05/0.7212, allocations: 2.5 kB / 1.353 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.7212, allocations: 1.219 kB / 1.353 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.7212, allocations: 1.438 kB / 1.353 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.7212, allocations: 0 / 1.353 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.7212, allocations: 6.484 kB / 1.353 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.856e-05/0.7213, allocations: 86.91 kB / 1.353 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.648e-05/0.7213, allocations: 86.86 kB / 1.353 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.7213, allocations: 1.312 kB / 1.353 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.693e-05/0.7214, allocations: 3.938 kB / 1.353 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.798e-06/0.7214, allocations: 6.188 kB / 1.353 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.7214, allocations: 9.297 kB / 1.353 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.695e-05/0.7214, allocations: 96.89 kB / 1.353 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001693/0.7216, allocations: 10.5 kB / 1.353 GB, free: 13.47 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 8.523e-05/0.7217, allocations: 97.88 kB / 1.353 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.848e-05/0.7218, allocations: 15.48 kB / 1.353 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.7218, allocations: 0 / 1.353 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.949e-06/0.7218, allocations: 11.41 kB / 1.353 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.918e-05/0.7219, allocations: 10.78 kB / 1.353 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001956/0.7221, allocations: 102.4 kB / 1.354 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001187/0.7222, allocations: 0.7052 MB / 1.354 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of SimCode: time 2.4e-07/0.7222, allocations: 0 / 1.354 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of Templates: time 0.00173/0.7239, allocations: 336.1 kB / 1.355 GB, free: 12.52 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.csv","../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches