Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") [: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.54/1.54, allocations: 249.4 MB / 256.7 MB, free: 7 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.001051/0.001051, allocations: 189.2 kB / 316 MB, free: 3.539 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.353/1.353, allocations: 205.1 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.0009131/0.000913, allocations: 82.34 kB / 0.671 GB, free: 4.711 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.348e-06/9.368e-06, allocations: 0 / 0.7807 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.2162, allocations: 106.3 MB / 0.8846 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6141/0.8303, allocations: 131.1 MB / 1.013 GB, free: 7.488 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002346/0.8306, allocations: 72.19 kB / 1.013 GB, free: 7.445 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.0004119/0.8311, allocations: 55.84 kB / 1.013 GB, free: 7.398 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.695e-06/0.8311, allocations: 0 / 1.013 GB, free: 7.398 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002303/0.8313, allocations: 308.8 kB / 1.013 GB, free: 7.059 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.8314, allocations: 12.03 kB / 1.013 GB, free: 7.047 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.412e-05/0.8314, allocations: 3.906 kB / 1.013 GB, free: 7.043 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.8315, allocations: 163.1 kB / 1.013 GB, free: 6.844 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.8316, allocations: 0 / 1.013 GB, free: 6.844 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.041e-05/0.8316, allocations: 0 / 1.013 GB, free: 6.844 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.253e-05/0.8316, allocations: 0 / 1.013 GB, free: 6.844 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.683e-05/0.8317, allocations: 33.64 kB / 1.013 GB, free: 6.805 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.607e-06/0.8317, allocations: 4 kB / 1.013 GB, free: 6.801 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.8317, allocations: 3.906 kB / 1.013 GB, free: 6.797 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.8318, allocations: 0 / 1.013 GB, free: 6.797 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000271/0.832, allocations: 360.2 kB / 1.014 GB, free: 6.41 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.399e-05/0.8321, allocations: 165.1 kB / 1.014 GB, free: 6.238 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.504e-05/0.8322, allocations: 87.95 kB / 1.014 GB, free: 6.152 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.854e-05/0.8322, allocations: 75.28 kB / 1.014 GB, free: 6.078 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.484e-05/0.8322, allocations: 113.5 kB / 1.014 GB, free: 5.961 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.8322, allocations: 0 / 1.014 GB, free: 5.961 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 7.368e-05/0.8323, allocations: 33.64 kB / 1.014 GB, free: 5.922 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.629e-05/0.8324, allocations: 51.41 kB / 1.014 GB, free: 5.859 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.677e-05/0.8324, allocations: 91.67 kB / 1.014 GB, free: 5.766 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.8325, allocations: 29.83 kB / 1.014 GB, free: 5.73 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.337e-05/0.8325, allocations: 80.14 kB / 1.014 GB, free: 5.648 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.643e-06/0.8325, allocations: 0 / 1.014 GB, free: 5.648 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.71e-07/0.8325, allocations: 0 / 1.014 GB, free: 5.648 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.687e-05/0.8326, allocations: 321.9 kB / 1.015 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.336e-06/0.8326, allocations: 0 / 1.015 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.846e-06/0.8326, allocations: 2.438 kB / 1.015 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.552e-05/0.8327, allocations: 75.28 kB / 1.015 GB, free: 5.254 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.486e-05/0.8327, allocations: 79.28 kB / 1.015 GB, free: 5.176 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.209e-05/0.8327, allocations: 33.64 kB / 1.015 GB, free: 5.137 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.8328, allocations: 4 kB / 1.015 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.129e-05/0.8328, allocations: 75.28 kB / 1.015 GB, free: 5.059 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.131e-05/0.8328, allocations: 154.5 kB / 1.015 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.074e-05/0.8329, allocations: 79.22 kB / 1.015 GB, free: 4.828 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.122e-05/0.8329, allocations: 158.5 kB / 1.015 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.648e-05/0.833, allocations: 79.28 kB / 1.015 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.049e-05/0.833, allocations: 79.22 kB / 1.015 GB, free: 4.516 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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 0.0001144/0.8331, allocations: 255 kB / 1.016 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.16e-05/0.8332, allocations: 105 kB / 1.016 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.71e-05/0.8332, allocations: 104 kB / 1.016 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.145e-05/0.8333, allocations: 184.2 kB / 1.016 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-05/0.8334, allocations: 184.2 kB / 1.016 GB, free: 3.672 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.806e-05/0.8334, allocations: 180.6 kB / 1.016 GB, free: 3.488 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001758/0.8336, allocations: 385.2 kB / 1.017 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.593e-05/0.8336, allocations: 110.2 kB / 1.017 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.087e-05/0.8337, allocations: 101 kB / 1.017 GB, free: 2.852 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.115e-05/0.8337, allocations: 188.2 kB / 1.017 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.188e-05/0.8338, allocations: 176.3 kB / 1.017 GB, free: 2.48 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.138e-05/0.8339, allocations: 176.3 kB / 1.017 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.936e-05/0.8339, allocations: 180.2 kB / 1.018 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001076/0.834, allocations: 311.2 kB / 1.018 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.166e-05/0.8341, allocations: 182.4 kB / 1.018 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.326e-05/0.8342, allocations: 184.2 kB / 1.018 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.372e-05/0.8342, allocations: 101 kB / 1.018 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.641e-05/0.8343, allocations: 187.9 kB / 1.019 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.139e-05/0.8343, allocations: 101 kB / 1.019 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.398e-05/0.8344, allocations: 83.28 kB / 1.019 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002318/0.8346, allocations: 0 / 1.019 GB, free: 0.9219 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0001333/0.8347, allocations: 177.3 kB / 1.019 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 3.761e-05/0.8348, allocations: 0 / 1.019 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.8348, allocations: 0 / 1.019 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.924e-06/0.8348, allocations: 7.875 kB / 1.019 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002863/0.8351, allocations: 0.5336 MB / 1.019 GB, free: 200 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001663/0.8353, allocations: 115.2 kB / 1.019 GB, free: 60 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000224/0.8355, allocations: 0.6841 MB / 1.02 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of SimCode: time 5.51e-07/0.8355, allocations: 0 / 1.02 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of Templates: time 0.001488/0.837, allocations: 150.6 kB / 1.02 GB, free: 15.21 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches