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_quad.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_quad,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_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,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_quad") [: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.319/1.319, allocations: 249.4 MB / 256.7 MB, free: 7.082 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.001083/0.001083, allocations: 193.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.586/1.586, allocations: 205.1 MB / 0.5667 GB, free: 15.64 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.001065/0.001065, allocations: 87.33 kB / 0.671 GB, free: 4.777 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.774e-06/7.794e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.2195, allocations: 106.3 MB / 0.8846 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5851/0.8046, allocations: 131.7 MB / 1.013 GB, free: 7.023 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002002/0.8049, allocations: 65.59 kB / 1.013 GB, free: 6.988 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.002566/0.8074, allocations: 0.8431 MB / 1.014 GB, free: 6.297 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.086e-06/0.8075, 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.0003434/0.8078, allocations: 373 kB / 1.014 GB, free: 5.895 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.8079, allocations: 8.031 kB / 1.014 GB, free: 5.887 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.133e-05/0.8079, allocations: 11.89 kB / 1.014 GB, free: 5.875 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000178/0.8081, allocations: 178.9 kB / 1.015 GB, free: 5.66 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.8082, allocations: 4 kB / 1.015 GB, free: 5.656 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.8082, allocations: 4 kB / 1.015 GB, free: 5.652 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001058/0.8083, allocations: 38.28 kB / 1.015 GB, free: 5.629 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.8084, allocations: 82.27 kB / 1.015 GB, free: 5.547 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.8085, allocations: 4 kB / 1.015 GB, free: 5.543 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.8085, allocations: 0 / 1.015 GB, free: 5.543 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.8085, allocations: 0 / 1.015 GB, free: 5.543 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005432/0.809, allocations: 415.7 kB / 1.015 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.8092, allocations: 40.81 kB / 1.015 GB, free: 5.07 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.096e-05/0.8092, allocations: 16.97 kB / 1.015 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.307e-05/0.8092, allocations: 3.984 kB / 1.015 GB, free: 5.047 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.8092, allocations: 38.47 kB / 1.015 GB, free: 5 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.8092, allocations: 6.844 kB / 1.015 GB, free: 4.996 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001645/0.8094, allocations: 40.95 kB / 1.015 GB, free: 4.953 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/0.8095, allocations: 81.02 kB / 1.015 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.8096, allocations: 122.1 kB / 1.015 GB, free: 4.738 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.8096, allocations: 33.64 kB / 1.015 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.648e-05/0.8097, allocations: 107.2 kB / 1.016 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.783e-06/0.8097, allocations: 3.969 kB / 1.016 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-06/0.8097, allocations: 4 kB / 1.016 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.939e-05/0.8098, allocations: 322.3 kB / 1.016 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.85e-05/0.8098, allocations: 7.562 kB / 1.016 GB, free: 4.266 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.038e-05/0.8098, allocations: 17.28 kB / 1.016 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.181e-05/0.8099, allocations: 7.5 kB / 1.016 GB, free: 4.242 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.8099, allocations: 3.906 kB / 1.016 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.102e-05/0.81, allocations: 57.12 kB / 1.016 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.81, allocations: 8 kB / 1.016 GB, free: 4.172 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.81, allocations: 0 / 1.016 GB, free: 4.172 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.81, allocations: 3.906 kB / 1.016 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.567e-05/0.8101, allocations: 4 kB / 1.016 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.8101, allocations: 4.625 kB / 1.016 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.09e-05/0.8101, allocations: 7.922 kB / 1.016 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.8101, allocations: 0 / 1.016 GB, free: 4.152 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.015e-05/0.8102, allocations: 111 kB / 1.016 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.38e-05/0.8103, allocations: 7.969 kB / 1.016 GB, free: 4.035 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.823e-05/0.8103, allocations: 11.55 kB / 1.016 GB, free: 4.023 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.8103, allocations: 0 / 1.016 GB, free: 4.023 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.8103, allocations: 3.906 kB / 1.016 GB, free: 4.02 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.8103, allocations: 7.938 kB / 1.016 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003572/0.8107, allocations: 451.9 kB / 1.017 GB, free: 3.539 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.8107, allocations: 0 / 1.017 GB, free: 3.539 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.575e-05/0.8107, allocations: 11.25 kB / 1.017 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.8107, allocations: 0 / 1.017 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.591e-06/0.8107, allocations: 0 / 1.017 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.8107, allocations: 3.984 kB / 1.017 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.8108, allocations: 0 / 1.017 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.872e-05/0.8108, allocations: 86.56 kB / 1.017 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.41e-05/0.8109, allocations: 93.12 kB / 1.017 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.8109, allocations: 3.984 kB / 1.017 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.379e-05/0.811, allocations: 4 kB / 1.017 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.498e-05/0.811, allocations: 3.906 kB / 1.017 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.811, allocations: 0 / 1.017 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.468e-05/0.811, allocations: 105.8 kB / 1.017 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001775/0.8112, 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.0001131/0.8113, allocations: 95.25 kB / 1.017 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.35e-05/0.8114, allocations: 23.5 kB / 1.017 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.8114, allocations: 0 / 1.017 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.222e-05/0.8115, allocations: 7.312 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 0.0001097/0.8116, 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.0002747/0.8119, allocations: 106.1 kB / 1.017 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003323/0.8122, allocations: 0.7155 MB / 1.018 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of SimCode: time 2.1e-07/0.8122, allocations: 0 / 1.018 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of Templates: time 0.00205/0.8143, allocations: 372.5 kB / 1.018 GB, free: 1.844 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_quad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches