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_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.To_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.To_degC") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_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.392/1.392, allocations: 249.4 MB / 256.7 MB, free: 7.035 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.001012/0.001012, allocations: 184.5 kB / 316 MB, free: 3.504 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.205/1.205, allocations: 205.2 MB / 0.5667 GB, free: 15.56 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.0008892/0.0008895, allocations: 85.69 kB / 0.671 GB, free: 4.699 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.987e-06/9.017e-06, allocations: 4 kB / 0.7807 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2335/0.2335, allocations: 106.3 MB / 0.8846 GB, free: 12.6 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6898/0.9234, allocations: 131.7 MB / 1.013 GB, free: 7.129 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002889/0.9237, allocations: 69.89 kB / 1.013 GB, free: 7.09 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.002884/0.9266, allocations: 0.9136 MB / 1.014 GB, free: 6.34 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.135e-05/0.9267, allocations: 4 kB / 1.014 GB, free: 6.336 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.0003845/0.9271, allocations: 376.6 kB / 1.014 GB, free: 5.93 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.9271, allocations: 8.031 kB / 1.014 GB, free: 5.922 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.17e-05/0.9272, allocations: 11.81 kB / 1.014 GB, free: 5.91 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000207/0.9274, allocations: 185.7 kB / 1.015 GB, free: 5.691 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.9274, allocations: 4 kB / 1.015 GB, free: 5.688 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.557e-05/0.9274, allocations: 4 kB / 1.015 GB, free: 5.684 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000118/0.9276, allocations: 36.25 kB / 1.015 GB, free: 5.664 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.9277, allocations: 80.39 kB / 1.015 GB, free: 5.586 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.9277, allocations: 3.906 kB / 1.015 GB, free: 5.582 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.9277, allocations: 8 kB / 1.015 GB, free: 5.574 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.9278, allocations: 0 / 1.015 GB, free: 5.574 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000672/0.9284, allocations: 427.2 kB / 1.015 GB, free: 5.148 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.343e-05/0.9285, allocations: 33.22 kB / 1.015 GB, free: 5.098 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.566e-05/0.9286, allocations: 13.66 kB / 1.015 GB, free: 5.082 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.431e-05/0.9286, allocations: 6.797 kB / 1.015 GB, free: 5.078 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.804e-05/0.9286, allocations: 38.59 kB / 1.015 GB, free: 5.031 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.9286, allocations: 0 / 1.015 GB, free: 5.031 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002041/0.9288, allocations: 49.16 kB / 1.015 GB, free: 4.98 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.388e-05/0.9289, allocations: 77.11 kB / 1.015 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001521/0.9291, allocations: 128.7 kB / 1.016 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.9291, allocations: 25.7 kB / 1.016 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.556e-05/0.9292, allocations: 118.1 kB / 1.016 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.01e-05/0.9292, allocations: 7.969 kB / 1.016 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-06/0.9292, allocations: 0 / 1.016 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.9293, allocations: 318 kB / 1.016 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.46e-05/0.9294, allocations: 11.12 kB / 1.016 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.722e-05/0.9294, allocations: 20.78 kB / 1.016 GB, free: 4.258 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.703e-05/0.9294, allocations: 11.23 kB / 1.016 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.9295, allocations: 0 / 1.016 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.979e-05/0.9295, allocations: 62.86 kB / 1.016 GB, free: 4.191 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.9296, allocations: 4 kB / 1.016 GB, free: 4.188 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.9296, allocations: 0 / 1.016 GB, free: 4.188 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.9296, allocations: 0.6562 kB / 1.016 GB, free: 4.188 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.946e-05/0.9297, allocations: 11.94 kB / 1.016 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.9297, allocations: 3.984 kB / 1.016 GB, free: 4.172 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.39e-05/0.9297, allocations: 4 kB / 1.016 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.104e-06/0.9298, allocations: 4 kB / 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.133e-05/0.9298, allocations: 103.4 kB / 1.016 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.728e-05/0.9299, allocations: 15.95 kB / 1.016 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.802e-05/0.9299, allocations: 18.58 kB / 1.016 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.9299, allocations: 0 / 1.016 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.9299, allocations: 3.938 kB / 1.016 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.93, allocations: 0 / 1.016 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003559/0.9303, allocations: 460.8 kB / 1.017 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.9303, allocations: 0 / 1.017 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.641e-05/0.9304, allocations: 8.812 kB / 1.017 GB, free: 3.539 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.9304, allocations: 0 / 1.017 GB, free: 3.539 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.395e-06/0.9304, allocations: 3.906 kB / 1.017 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.9304, allocations: 0 / 1.017 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.9304, allocations: 0 / 1.017 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.398e-05/0.9305, allocations: 93.61 kB / 1.017 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.758e-05/0.9306, allocations: 92.98 kB / 1.017 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/0.9306, allocations: 4 kB / 1.017 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.663e-05/0.9306, allocations: 3.906 kB / 1.017 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.647e-05/0.9306, allocations: 7.172 kB / 1.017 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.9306, allocations: 0 / 1.017 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.423e-05/0.9307, allocations: 109.6 kB / 1.017 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001786/0.9309, 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.0001386/0.9311, allocations: 99.23 kB / 1.017 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.247e-05/0.9312, allocations: 19.62 kB / 1.017 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.9312, allocations: 0 / 1.017 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.565e-05/0.9312, allocations: 11.38 kB / 1.017 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001313/0.9313, allocations: 11.09 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.0003247/0.9316, allocations: 109.7 kB / 1.017 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003172/0.932, allocations: 0.7152 MB / 1.018 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of SimCode: time 2.51e-07/0.932, allocations: 0 / 1.018 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of Templates: time 0.00235/0.9343, allocations: 400.5 kB / 1.018 GB, free: 1.816 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_degC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches