Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.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.UnitConversions.Validation.From_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.368/1.368, allocations: 249.4 MB / 256.7 MB, free: 6.91 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.001304/0.001303, allocations: 189.2 kB / 316 MB, free: 3.566 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.562/1.562, allocations: 205.2 MB / 0.5667 GB, free: 15.68 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.0009866/0.0009861, allocations: 93.02 kB / 0.671 GB, free: 4.812 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.506e-06/8.536e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2332, allocations: 106.3 MB / 0.8846 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5841/0.8174, allocations: 131.7 MB / 1.013 GB, free: 7.02 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000207/0.8176, allocations: 73.08 kB / 1.013 GB, free: 6.98 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.002469/0.8201, allocations: 0.8347 MB / 1.014 GB, free: 6.297 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.865e-06/0.8201, allocations: 0 / 1.014 GB, free: 6.297 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003226/0.8205, allocations: 372.7 kB / 1.014 GB, free: 5.895 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.8205, allocations: 8.031 kB / 1.014 GB, free: 5.887 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.35e-05/0.8205, allocations: 11.91 kB / 1.014 GB, free: 5.875 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002007/0.8208, allocations: 182.7 kB / 1.015 GB, free: 5.66 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.8208, allocations: 7.375 kB / 1.015 GB, free: 5.656 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.245e-05/0.8208, allocations: 4 kB / 1.015 GB, free: 5.652 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.416e-05/0.8209, allocations: 36.84 kB / 1.015 GB, free: 5.629 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.821, allocations: 82.67 kB / 1.015 GB, free: 5.551 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.821, allocations: 0 / 1.015 GB, free: 5.551 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.01e-05/0.8211, allocations: 3.984 kB / 1.015 GB, free: 5.547 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.8211, allocations: 7.938 kB / 1.015 GB, free: 5.539 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005308/0.8216, allocations: 418 kB / 1.015 GB, free: 5.121 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.348e-05/0.8217, allocations: 37.91 kB / 1.015 GB, free: 5.066 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.058e-05/0.8217, allocations: 17.5 kB / 1.015 GB, free: 5.047 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.22e-05/0.8217, allocations: 3.938 kB / 1.015 GB, free: 5.043 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.8218, allocations: 34.47 kB / 1.015 GB, free: 5 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.8218, allocations: 2.734 kB / 1.015 GB, free: 5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001597/0.8219, allocations: 45.14 kB / 1.015 GB, free: 4.953 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.907e-05/0.822, allocations: 81.02 kB / 1.015 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.8221, allocations: 126.9 kB / 1.015 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.8221, allocations: 33.64 kB / 1.015 GB, free: 4.695 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.617e-05/0.8222, allocations: 103.3 kB / 1.016 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.989e-06/0.8222, allocations: 7.891 kB / 1.016 GB, free: 4.586 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.916e-06/0.8222, allocations: 0 / 1.016 GB, free: 4.586 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.8223, allocations: 322.8 kB / 1.016 GB, free: 4.266 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.739e-05/0.8224, allocations: 7.188 kB / 1.016 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.112e-05/0.8224, allocations: 17.66 kB / 1.016 GB, free: 4.242 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.507e-05/0.8224, allocations: 11.11 kB / 1.016 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.8224, allocations: 3.906 kB / 1.016 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.933e-05/0.8225, allocations: 48.89 kB / 1.016 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.8225, allocations: 8 kB / 1.016 GB, free: 4.172 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.8225, allocations: 4.062 kB / 1.016 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.8226, allocations: 3.906 kB / 1.016 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.876e-05/0.8226, allocations: 11.42 kB / 1.016 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.8226, allocations: 4 kB / 1.016 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.766e-05/0.8227, allocations: 3.938 kB / 1.016 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.137e-06/0.8227, allocations: 0 / 1.016 GB, free: 4.148 MB / 0.6355 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 6.89e-05/0.8228, allocations: 107.4 kB / 1.016 GB, free: 4.039 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.362e-05/0.8228, allocations: 3.906 kB / 1.016 GB, free: 4.035 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.045e-05/0.8228, allocations: 14.17 kB / 1.016 GB, free: 4.023 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.8229, allocations: 4 kB / 1.016 GB, free: 4.02 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.8229, allocations: 4.125 kB / 1.016 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/0.8229, allocations: 4 kB / 1.016 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003604/0.8232, allocations: 454.9 kB / 1.017 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.073e-06/0.8233, allocations: 0 / 1.017 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.691e-05/0.8233, allocations: 7.984 kB / 1.017 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.8233, allocations: 0 / 1.017 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.8233, allocations: 0 / 1.017 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.8233, allocations: 4.062 kB / 1.017 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.8233, allocations: 3.891 kB / 1.017 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.341e-05/0.8234, allocations: 83.25 kB / 1.017 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.595e-05/0.8235, allocations: 91.88 kB / 1.017 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.8235, allocations: 0 / 1.017 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.387e-05/0.8235, allocations: 8.031 kB / 1.017 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.548e-05/0.8235, allocations: 3.906 kB / 1.017 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.8235, allocations: 0 / 1.017 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.929e-05/0.8236, allocations: 107.8 kB / 1.017 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001771/0.8238, allocations: 8 kB / 1.017 GB, free: 3.199 MB / 0.6355 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 0.000111/0.8239, allocations: 95.25 kB / 1.017 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.504e-05/0.824, allocations: 19.56 kB / 1.017 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.824, allocations: 4.125 kB / 1.017 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.267e-05/0.824, allocations: 7.25 kB / 1.017 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.692e-05/0.8241, allocations: 11.84 kB / 1.017 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002352/0.8244, allocations: 107.4 kB / 1.017 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002518/0.8246, allocations: 0.7075 MB / 1.018 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of SimCode: time 2.3e-07/0.8246, allocations: 8.125 kB / 1.018 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of Templates: time 0.00199/0.8266, allocations: 383.9 kB / 1.018 GB, free: 1.828 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches