Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.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.Continuous.Validation.Product,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|product1.u1|product1.u2|product1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Product,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|product1.u1|product1.u2|product1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product") [: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.291/1.291, 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.001036/0.001036, allocations: 180.6 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.522/1.522, allocations: 205.1 MB / 0.5667 GB, free: 15.67 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.001081/0.001081, allocations: 86.42 kB / 0.671 GB, free: 4.805 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.05e-05/1.053e-05, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/0.2448, allocations: 106.3 MB / 0.8846 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6934/0.9382, allocations: 131.6 MB / 1.013 GB, free: 6.973 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002472/0.9385, allocations: 74.73 kB / 1.013 GB, free: 6.934 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.002398/0.941, allocations: 0.5506 MB / 1.014 GB, free: 6.453 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.225e-06/0.941, allocations: 0 / 1.014 GB, free: 6.453 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000483/0.9415, allocations: 363.2 kB / 1.014 GB, free: 6.059 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/0.9415, allocations: 12.03 kB / 1.014 GB, free: 6.047 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.531e-05/0.9416, allocations: 3.906 kB / 1.014 GB, free: 6.043 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001638/0.9418, allocations: 171 kB / 1.014 GB, free: 5.836 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.9418, allocations: 0 / 1.014 GB, free: 5.836 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.143e-05/0.9418, allocations: 4 kB / 1.014 GB, free: 5.832 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.408e-05/0.9419, allocations: 19 kB / 1.014 GB, free: 5.82 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.942, allocations: 40.55 kB / 1.014 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.942, allocations: 0 / 1.014 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.9421, allocations: 0 / 1.014 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.9421, allocations: 0 / 1.014 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005615/0.9426, allocations: 295.6 kB / 1.015 GB, free: 5.465 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.168e-05/0.9427, allocations: 33.2 kB / 1.015 GB, free: 5.43 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.404e-05/0.9428, allocations: 16.73 kB / 1.015 GB, free: 5.414 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.9428, allocations: 0 / 1.015 GB, free: 5.414 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.9428, allocations: 30.56 kB / 1.015 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.345e-06/0.9428, allocations: 0 / 1.015 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001762/0.943, allocations: 50.86 kB / 1.015 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.607e-05/0.943, allocations: 55.48 kB / 1.015 GB, free: 5.262 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.836e-05/0.9431, allocations: 104.2 kB / 1.015 GB, free: 5.156 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.9432, allocations: 25.7 kB / 1.015 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.332e-05/0.9432, allocations: 88.08 kB / 1.015 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.485e-05/0.9433, allocations: 7.891 kB / 1.015 GB, free: 5.031 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-06/0.9433, allocations: 0 / 1.015 GB, free: 5.031 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.9434, allocations: 318.3 kB / 1.015 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.225e-05/0.9434, allocations: 4 kB / 1.015 GB, free: 4.711 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.982e-05/0.9434, allocations: 7.5 kB / 1.015 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.328e-05/0.9435, allocations: 11.5 kB / 1.015 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.9435, allocations: 3.906 kB / 1.015 GB, free: 4.695 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.086e-05/0.9436, allocations: 47.56 kB / 1.015 GB, free: 4.648 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.9436, allocations: 10.34 kB / 1.015 GB, free: 4.641 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.9436, allocations: 0 / 1.015 GB, free: 4.641 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.9436, allocations: 0 / 1.015 GB, free: 4.641 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001528/0.9438, allocations: 24.73 kB / 1.015 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.9438, allocations: 4.625 kB / 1.015 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.844e-05/0.9439, allocations: 27.81 kB / 1.015 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.9439, allocations: 4 kB / 1.015 GB, free: 4.586 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 (3): * Single equations (assignments): 3 * 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.92e-05/0.944, allocations: 108.9 kB / 1.016 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.657e-05/0.944, allocations: 3.906 kB / 1.016 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.015e-05/0.9441, allocations: 8.188 kB / 1.016 GB, free: 4.457 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.9441, allocations: 3.984 kB / 1.016 GB, free: 4.453 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.9441, allocations: 7.875 kB / 1.016 GB, free: 4.445 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.9441, allocations: 0 / 1.016 GB, free: 4.445 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001542/0.9443, allocations: 148.3 kB / 1.016 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.9443, allocations: 0 / 1.016 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001162/0.9444, allocations: 27.97 kB / 1.016 GB, free: 4.242 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.9444, allocations: 0 / 1.016 GB, free: 4.242 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.9444, allocations: 3.906 kB / 1.016 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.9444, allocations: 0 / 1.016 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.9444, allocations: 0 / 1.016 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001387/0.9446, allocations: 153.5 kB / 1.016 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.858e-05/0.9446, allocations: 77.11 kB / 1.016 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.9446, allocations: 4 kB / 1.016 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001751/0.9448, allocations: 15.98 kB / 1.016 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.575e-05/0.9449, allocations: 7.984 kB / 1.016 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.9449, allocations: 4 kB / 1.016 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.65e-05/0.945, allocations: 94.73 kB / 1.016 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002084/0.9452, allocations: 7.938 kB / 1.016 GB, free: 3.859 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 (3): * Single equations (assignments): 3 * 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.000151/0.9453, allocations: 99.25 kB / 1.016 GB, free: 3.754 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001014/0.9454, allocations: 25.05 kB / 1.016 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.9454, allocations: 0 / 1.016 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.196e-05/0.9455, allocations: 11.81 kB / 1.016 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001992/0.9457, allocations: 8 kB / 1.016 GB, free: 3.723 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000262/0.946, allocations: 82.19 kB / 1.016 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003038/0.9463, allocations: 0.6915 MB / 1.017 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of SimCode: time 2.51e-07/0.9463, allocations: 4 kB / 1.017 GB, free: 2.906 MB / 0.6355 GB Notification: Performance of Templates: time 0.00249/0.9488, allocations: 0.6004 MB / 1.018 GB, free: 2.32 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_Product.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Product.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches