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_degC.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_degC,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_degC") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,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_degC") [: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.354/1.354, allocations: 249.4 MB / 256.7 MB, free: 7.051 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.001141/0.001141, allocations: 189.2 kB / 316 MB, free: 3.543 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.184/1.184, allocations: 205.1 MB / 0.5667 GB, free: 15.61 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.001055/0.001054, allocations: 97.58 kB / 0.671 GB, free: 4.734 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.001e-05/1.005e-05, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2409/0.2409, allocations: 106.3 MB / 0.8846 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6985/0.9395, allocations: 131.7 MB / 1.013 GB, free: 7.047 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/0.9399, allocations: 70.64 kB / 1.013 GB, free: 7.008 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.002975/0.9429, allocations: 0.8962 MB / 1.014 GB, free: 6.277 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.061e-05/0.9429, allocations: 7.938 kB / 1.014 GB, free: 6.27 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.0004135/0.9433, allocations: 376.7 kB / 1.014 GB, free: 5.863 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.9434, allocations: 8.031 kB / 1.014 GB, free: 5.855 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.397e-05/0.9434, allocations: 11.81 kB / 1.014 GB, free: 5.844 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001916/0.9436, allocations: 186.8 kB / 1.015 GB, free: 5.621 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.9437, allocations: 0 / 1.015 GB, free: 5.621 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.9437, allocations: 4 kB / 1.015 GB, free: 5.617 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001209/0.9438, allocations: 33.88 kB / 1.015 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.944, allocations: 85.41 kB / 1.015 GB, free: 5.516 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.944, allocations: 7.906 kB / 1.015 GB, free: 5.508 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.944, allocations: 3.984 kB / 1.015 GB, free: 5.504 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.944, allocations: 0 / 1.015 GB, free: 5.504 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005931/0.9446, allocations: 426.5 kB / 1.015 GB, free: 5.078 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.953e-05/0.9447, allocations: 41.33 kB / 1.015 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.135e-05/0.9447, allocations: 13.53 kB / 1.015 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/0.9447, allocations: 6.797 kB / 1.015 GB, free: 5 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.9448, allocations: 34.56 kB / 1.015 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.553e-06/0.9448, allocations: 0 / 1.015 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001829/0.945, allocations: 49.3 kB / 1.015 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/0.945, allocations: 77.11 kB / 1.015 GB, free: 4.812 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.9451, allocations: 131.3 kB / 1.016 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.9452, allocations: 25.7 kB / 1.016 GB, free: 4.648 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.148e-05/0.9452, allocations: 122 kB / 1.016 GB, free: 4.531 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.714e-06/0.9452, allocations: 3.906 kB / 1.016 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-06/0.9452, allocations: 0 / 1.016 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.9454, allocations: 318.6 kB / 1.016 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.184e-05/0.9454, allocations: 11.19 kB / 1.016 GB, free: 4.203 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.715e-05/0.9454, allocations: 17.28 kB / 1.016 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.677e-05/0.9455, allocations: 7.75 kB / 1.016 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.9455, allocations: 4 kB / 1.016 GB, free: 4.172 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.83e-05/0.9456, allocations: 63.97 kB / 1.016 GB, free: 4.109 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.9456, allocations: 4 kB / 1.016 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.9456, allocations: 0 / 1.016 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.9456, allocations: 0 / 1.016 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.773e-05/0.9457, allocations: 8 kB / 1.016 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.9457, allocations: 0 / 1.016 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.729e-05/0.9458, allocations: 7.531 kB / 1.016 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.9458, allocations: 4 kB / 1.016 GB, free: 4.09 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.234e-05/0.9458, allocations: 107.5 kB / 1.016 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.879e-05/0.9459, allocations: 11.84 kB / 1.016 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.701e-05/0.9459, allocations: 19.44 kB / 1.016 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.946, allocations: 0 / 1.016 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.946, allocations: 3.938 kB / 1.016 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.946, allocations: 3.5 kB / 1.016 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003602/0.9463, allocations: 451.9 kB / 1.017 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.9464, allocations: 4.062 kB / 1.017 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.004e-05/0.9464, allocations: 11.88 kB / 1.017 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.9464, allocations: 0 / 1.017 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.9464, allocations: 3.906 kB / 1.017 GB, free: 3.461 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.9464, allocations: 3.984 kB / 1.017 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.9464, allocations: 0 / 1.017 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001136/0.9465, allocations: 85.38 kB / 1.017 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.181e-05/0.9466, allocations: 92.94 kB / 1.017 GB, free: 3.242 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.9466, allocations: 4 kB / 1.017 GB, free: 3.238 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.666e-05/0.9467, allocations: 3.906 kB / 1.017 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.704e-05/0.9467, allocations: 0 / 1.017 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.9467, allocations: 0 / 1.017 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.749e-05/0.9468, allocations: 117 kB / 1.017 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001892/0.947, allocations: 8 kB / 1.017 GB, free: 3.129 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.0001377/0.9471, allocations: 99.28 kB / 1.017 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.633e-05/0.9472, allocations: 19 kB / 1.017 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.9472, allocations: 3.188 kB / 1.017 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.361e-05/0.9472, allocations: 8 kB / 1.017 GB, free: 3 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001213/0.9474, allocations: 6.531 kB / 1.017 GB, free: 2.996 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003071/0.9477, allocations: 114.8 kB / 1.017 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002571/0.948, allocations: 0.7152 MB / 1.018 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of SimCode: time 2.3e-07/0.948, allocations: 0 / 1.018 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of Templates: time 0.002405/0.9504, allocations: 413.1 kB / 1.018 GB, free: 1.734 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_degC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches