Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.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.To_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_psi") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_psi") [: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.337/1.337, allocations: 249.4 MB / 256.7 MB, free: 7.07 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.00112/0.00112, allocations: 185.2 kB / 316 MB, free: 3.52 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.571/1.571, allocations: 205.2 MB / 0.5667 GB, free: 15.59 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.001038/0.001038, allocations: 86.83 kB / 0.671 GB, free: 4.723 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.486e-06/8.506e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2166/0.2166, allocations: 106.3 MB / 0.8846 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5986/0.8152, allocations: 131.7 MB / 1.013 GB, free: 7.035 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001984/0.8155, allocations: 70.38 kB / 1.013 GB, free: 6.996 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.002554/0.818, allocations: 0.8439 MB / 1.014 GB, free: 6.309 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.095e-06/0.8181, allocations: 0 / 1.014 GB, free: 6.309 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.0003339/0.8184, allocations: 365.7 kB / 1.014 GB, free: 5.91 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.8185, allocations: 16.03 kB / 1.014 GB, free: 5.895 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.562e-05/0.8185, allocations: 7.906 kB / 1.014 GB, free: 5.887 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001864/0.8187, allocations: 181.8 kB / 1.015 GB, free: 5.668 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.8187, allocations: 0 / 1.015 GB, free: 5.668 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.198e-05/0.8187, allocations: 4 kB / 1.015 GB, free: 5.664 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.027e-05/0.8188, allocations: 34.47 kB / 1.015 GB, free: 5.641 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/0.8189, allocations: 84.33 kB / 1.015 GB, free: 5.562 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.819, allocations: 3.938 kB / 1.015 GB, free: 5.559 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.819, allocations: 4 kB / 1.015 GB, free: 5.555 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.279e-06/0.819, allocations: 4 kB / 1.015 GB, free: 5.551 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005186/0.8195, allocations: 421.2 kB / 1.015 GB, free: 5.129 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.929e-05/0.8196, allocations: 33.22 kB / 1.015 GB, free: 5.078 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.166e-05/0.8196, allocations: 20.69 kB / 1.015 GB, free: 5.055 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.086e-06/0.8196, allocations: 0 / 1.015 GB, free: 5.055 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.8197, allocations: 40.72 kB / 1.015 GB, free: 5.012 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.8197, allocations: 4 kB / 1.015 GB, free: 5.008 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001542/0.8198, allocations: 37.7 kB / 1.015 GB, free: 4.965 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/0.8199, allocations: 88.77 kB / 1.015 GB, free: 4.863 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.82, allocations: 116.8 kB / 1.015 GB, free: 4.746 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.82, allocations: 25.7 kB / 1.015 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.336e-05/0.8201, allocations: 111.4 kB / 1.016 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.776e-06/0.8201, allocations: 7.906 kB / 1.016 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-06/0.8201, allocations: 0 / 1.016 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.8202, allocations: 318.7 kB / 1.016 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.792e-05/0.8202, allocations: 7.25 kB / 1.016 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.37e-05/0.8203, allocations: 17.09 kB / 1.016 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.158e-05/0.8203, allocations: 15.48 kB / 1.016 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.8203, allocations: 3.906 kB / 1.016 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.917e-05/0.8204, allocations: 49.52 kB / 1.016 GB, free: 4.195 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.818e-06/0.8204, allocations: 4.062 kB / 1.016 GB, free: 4.191 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.8204, allocations: 4 kB / 1.016 GB, free: 4.188 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.8204, allocations: 7.906 kB / 1.016 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.8205, allocations: 10.05 kB / 1.016 GB, free: 4.172 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.8205, allocations: 0.6562 kB / 1.016 GB, free: 4.172 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.27e-05/0.8206, allocations: 7.938 kB / 1.016 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.047e-06/0.8206, allocations: 0 / 1.016 GB, free: 4.164 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 7.119e-05/0.8207, allocations: 106.5 kB / 1.016 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.754e-05/0.8207, allocations: 8 kB / 1.016 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.15e-05/0.8208, allocations: 23.03 kB / 1.016 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.8208, allocations: 4 kB / 1.016 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.8208, allocations: 7.844 kB / 1.016 GB, free: 4.02 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.8208, allocations: 3.984 kB / 1.016 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000346/0.8211, allocations: 448.1 kB / 1.017 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.8211, allocations: 0 / 1.017 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.525e-05/0.8212, allocations: 7.984 kB / 1.017 GB, free: 3.539 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.8212, allocations: 0 / 1.017 GB, free: 3.539 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.8212, allocations: 8.062 kB / 1.017 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.8212, allocations: 0 / 1.017 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.8212, allocations: 0.5625 kB / 1.017 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.436e-05/0.8213, allocations: 86.38 kB / 1.017 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.094e-05/0.8214, allocations: 89 kB / 1.017 GB, free: 3.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/0.8214, allocations: 4.031 kB / 1.017 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.449e-05/0.8214, allocations: 4 kB / 1.017 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.07e-05/0.8214, allocations: 3.906 kB / 1.017 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-06/0.8214, allocations: 4 kB / 1.017 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.408e-05/0.8215, allocations: 103.5 kB / 1.017 GB, free: 3.215 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000175/0.8217, allocations: 12 kB / 1.017 GB, free: 3.203 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.0001087/0.8218, allocations: 95.25 kB / 1.017 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.248e-05/0.8219, allocations: 19.44 kB / 1.017 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.552e-06/0.8219, allocations: 4 kB / 1.017 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.166e-05/0.8219, allocations: 7.75 kB / 1.017 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.606e-05/0.822, allocations: 3.906 kB / 1.017 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002468/0.8223, allocations: 111.2 kB / 1.017 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002641/0.8225, allocations: 0.7116 MB / 1.018 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of SimCode: time 2.41e-07/0.8225, allocations: 0 / 1.018 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of Templates: time 0.001938/0.8245, allocations: 373.9 kB / 1.018 GB, free: 1.852 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_psi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_UnitConversions_Validation_To_psi.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches