Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.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_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_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 9.1.1-maint.9.1.x/package.mo): time 1.776/1.776, allocations: 387.2 MB / 394.5 MB, free: 13.65 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.0009308/0.0009308, allocations: 177.3 kB / 487 MB, free: 5.336 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.145/1.145, allocations: 221.3 MB / 0.7819 GB, free: 1.34 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.0009067/0.0009067, allocations: 114.9 kB / 0.9213 GB, free: 2.578 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.284e-06/7.294e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1777/0.1777, allocations: 142.3 MB / 1.205 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4801/0.6578, allocations: 148 MB / 1.35 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002239/0.6581, allocations: 64.06 kB / 1.35 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.002197/0.6603, allocations: 0.7778 MB / 1.351 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.6603, allocations: 2.562 kB / 1.351 GB, free: 15.77 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.0002024/0.6605, allocations: 348.8 kB / 1.351 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.6606, allocations: 10.25 kB / 1.351 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.118e-05/0.6606, allocations: 9.453 kB / 1.351 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.769e-05/0.6607, allocations: 175.1 kB / 1.351 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.6607, allocations: 6.562 kB / 1.351 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.6607, allocations: 3.719 kB / 1.351 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.746e-05/0.6608, allocations: 41 kB / 1.351 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.738e-05/0.6609, allocations: 82.67 kB / 1.351 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.6609, allocations: 0.75 kB / 1.351 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.661, allocations: 1.688 kB / 1.351 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.661, allocations: 2.625 kB / 1.351 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003685/0.6613, allocations: 414.1 kB / 1.352 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.382e-05/0.6614, allocations: 37.03 kB / 1.352 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.563e-05/0.6614, allocations: 18.34 kB / 1.352 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 6.312e-06/0.6614, allocations: 1.344 kB / 1.352 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.439e-05/0.6615, allocations: 33.42 kB / 1.352 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 1.163e-06/0.6615, allocations: 7.875 kB / 1.352 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.000129/0.6616, allocations: 46.53 kB / 1.352 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.781e-05/0.6616, allocations: 78.42 kB / 1.352 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.983e-05/0.6617, allocations: 114.6 kB / 1.352 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 5.63e-06/0.6617, allocations: 31.16 kB / 1.352 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.137e-05/0.6617, allocations: 109.1 kB / 1.352 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.982e-06/0.6618, allocations: 6.562 kB / 1.352 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.184e-06/0.6618, allocations: 0 / 1.352 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.995e-05/0.6618, allocations: 313.5 kB / 1.352 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.519e-05/0.6618, allocations: 14.44 kB / 1.352 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.46e-05/0.6618, allocations: 21.19 kB / 1.352 GB, free: 14 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.733e-05/0.6619, allocations: 11.91 kB / 1.352 GB, free: 14 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.6619, allocations: 0 / 1.352 GB, free: 14 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.902e-05/0.662, allocations: 47.94 kB / 1.352 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.428e-06/0.662, allocations: 4.844 kB / 1.352 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.662, allocations: 1.172 kB / 1.352 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/0.662, allocations: 1.188 kB / 1.352 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.334e-05/0.6621, allocations: 9.219 kB / 1.352 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.6621, allocations: 6.453 kB / 1.352 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.433e-05/0.6621, allocations: 10.05 kB / 1.353 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-06/0.6621, allocations: 1.688 kB / 1.353 GB, free: 13.95 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.158e-05/0.6621, allocations: 102.4 kB / 1.353 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.117e-05/0.6622, allocations: 7.344 kB / 1.353 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.2e-05/0.6622, allocations: 9.656 kB / 1.353 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.6622, allocations: 1.031 kB / 1.353 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.6622, allocations: 2.906 kB / 1.353 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.6622, allocations: 5 kB / 1.353 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000211/0.6624, allocations: 440.4 kB / 1.353 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.6625, allocations: 1.188 kB / 1.353 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.785e-05/0.6625, allocations: 4.719 kB / 1.353 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.6625, allocations: 5.328 kB / 1.353 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.829e-06/0.6625, allocations: 0 / 1.353 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.6625, allocations: 4.969 kB / 1.353 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.6625, allocations: 5.156 kB / 1.353 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 4.937e-05/0.6626, allocations: 84.62 kB / 1.353 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.295e-05/0.6626, allocations: 84.73 kB / 1.353 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.125e-05/0.6626, allocations: 1.312 kB / 1.353 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.726e-05/0.6626, allocations: 1.094 kB / 1.353 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.989e-06/0.6626, allocations: 14.61 kB / 1.353 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.6627, allocations: 3.656 kB / 1.353 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.461e-05/0.6627, allocations: 99.42 kB / 1.353 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001648/0.6629, allocations: 7.812 kB / 1.353 GB, free: 13.11 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 7.846e-05/0.6629, allocations: 101.2 kB / 1.353 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.208e-05/0.663, allocations: 13.56 kB / 1.353 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.663, allocations: 1.094 kB / 1.353 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.407e-06/0.663, allocations: 14.66 kB / 1.353 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.839e-05/0.6631, allocations: 5.938 kB / 1.353 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001882/0.6633, allocations: 103.1 kB / 1.354 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002354/0.6636, allocations: 0.7057 MB / 1.354 GB, free: 28.21 MB / 0.823 GB Notification: Performance of SimCode: time 2e-07/0.6636, allocations: 0 / 1.354 GB, free: 28.21 MB / 0.823 GB Notification: Performance of Templates: time 0.001689/0.6653, allocations: 328.9 kB / 1.355 GB, free: 28.16 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches