Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extSig.u.1.|extSig.u.2.|extSig.u.3.|extSig.u.4.|extSig.u.5.|extSig.y.1.|extSig.y.2.|extSig.y.3.|extSig1.y.1.|extSig1.y.2.|extSig1.y.3.|extSig1.y.4.|extSig1.y.5.|extSig1.y.6.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|extSig.u.1.|extSig.u.2.|extSig.u.3.|extSig.u.4.|extSig.u.5.|extSig.y.1.|extSig.y.2.|extSig.y.3.|extSig1.y.1.|extSig1.y.2.|extSig1.y.3.|extSig1.y.4.|extSig1.y.5.|extSig1.y.6.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") [: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.307/1.307, allocations: 249.4 MB / 256.7 MB, free: 6.93 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.001324/0.001323, allocations: 185.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.526/1.526, allocations: 205.2 MB / 0.5667 GB, free: 15.66 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.0009265/0.0009266, allocations: 93.44 kB / 0.671 GB, free: 4.785 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.983e-06/7.023e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2059/0.2059, allocations: 106.3 MB / 0.8846 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6633/0.8693, allocations: 132.1 MB / 1.014 GB, free: 6.508 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002/0.8695, allocations: 71.33 kB / 1.014 GB, free: 6.469 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.006385/0.8759, allocations: 1.821 MB / 1.015 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.112e-05/0.8759, allocations: 4 kB / 1.015 GB, free: 4.871 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008611/0.8768, allocations: 0.4919 MB / 1.016 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.8768, allocations: 12.03 kB / 1.016 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.316e-05/0.8769, allocations: 11.81 kB / 1.016 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002156/0.8771, allocations: 216.6 kB / 1.016 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.8771, allocations: 4 kB / 1.016 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.645e-05/0.8772, allocations: 4 kB / 1.016 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001683/0.8774, allocations: 63.77 kB / 1.016 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001985/0.8776, allocations: 138.8 kB / 1.016 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.8776, allocations: 0 / 1.016 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.943e-05/0.8776, allocations: 4 kB / 1.016 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.8776, allocations: 0 / 1.016 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001076/0.8787, allocations: 0.7824 MB / 1.017 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/0.8789, allocations: 128.1 kB / 1.017 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.206e-05/0.879, allocations: 62.09 kB / 1.017 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.879, allocations: 7.922 kB / 1.017 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000164/0.8792, allocations: 132.8 kB / 1.017 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 1.593e-06/0.8792, allocations: 0 / 1.017 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0002563/0.8794, allocations: 106.5 kB / 1.017 GB, free: 2.645 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.359e-05/0.8795, allocations: 165.8 kB / 1.018 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.8797, allocations: 147.9 kB / 1.018 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.8797, allocations: 33.8 kB / 1.018 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.926e-05/0.8798, allocations: 107 kB / 1.018 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.177e-05/0.8798, allocations: 30.83 kB / 1.018 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.033e-05/0.8798, allocations: 0 / 1.018 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.88, allocations: 329.7 kB / 1.018 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.019e-05/0.88, allocations: 38.3 kB / 1.018 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/0.8801, allocations: 69.42 kB / 1.018 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.219e-05/0.8802, allocations: 44.59 kB / 1.018 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.8802, allocations: 0 / 1.018 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002337/0.8805, allocations: 139.4 kB / 1.019 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.8805, allocations: 6.188 kB / 1.019 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.8805, allocations: 4 kB / 1.019 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.8805, allocations: 0 / 1.019 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003494/0.8809, allocations: 79.47 kB / 1.019 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.8809, allocations: 4 kB / 1.019 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000303/0.8812, allocations: 59.8 kB / 1.019 GB, free: 1.441 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.132e-05/0.8812, allocations: 11.98 kB / 1.019 GB, free: 1.43 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.pul.T_start,pul.T_start,$PRE.pul.count,pul.count,$whenCondition1,$PRE.pul1.T_start,pul1.T_start,$PRE.pul1.count,pul1.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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 8.055e-05/0.8813, allocations: 116.8 kB / 1.019 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.144e-05/0.8814, allocations: 15.81 kB / 1.019 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.123e-05/0.8814, allocations: 16.89 kB / 1.019 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.177e-06/0.8814, allocations: 4 kB / 1.019 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.8814, allocations: 0 / 1.019 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.8814, allocations: 4 kB / 1.019 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001734/0.8816, allocations: 204 kB / 1.019 GB, free: 1.055 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.8816, allocations: 4.875 kB / 1.019 GB, free: 1.051 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002549/0.8819, allocations: 59.89 kB / 1.019 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.8819, allocations: 4 kB / 1.019 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/0.8819, allocations: 3.984 kB / 1.019 GB, free: 0.9883 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.8819, allocations: 4 kB / 1.019 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.8819, allocations: 0 / 1.019 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00025/0.8822, allocations: 211.7 kB / 1.019 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.586e-05/0.8823, allocations: 92.92 kB / 1.019 GB, free: 0.6406 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.769e-05/0.8823, allocations: 11.3 kB / 1.019 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000293/0.8826, allocations: 51.95 kB / 1.019 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.8827, allocations: 34.61 kB / 1.02 GB, free: 0.5547 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.8827, allocations: 11.98 kB / 1.02 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.68e-05/0.8828, allocations: 116.3 kB / 1.02 GB, free: 452 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000227/0.8831, allocations: 24 kB / 1.02 GB, free: 428 kB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,pul.T_start,pul.count,$whenCondition1,pul1.T_start,pul1.count) * Number of discrete states: 2 (pul1.count,pul.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001429/0.8832, allocations: 112.2 kB / 1.02 GB, free: 312 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002576/0.8835, allocations: 94.98 kB / 1.02 GB, free: 244 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.8835, allocations: 0 / 1.02 GB, free: 244 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001664/0.8837, allocations: 67.36 kB / 1.02 GB, free: 200 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002367/0.8839, allocations: 23.17 kB / 1.02 GB, free: 180 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005405/0.8845, allocations: 222.3 kB / 1.02 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000416/0.8849, allocations: 0.7491 MB / 1.021 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of SimCode: time 2.51e-07/0.8849, allocations: 0 / 1.021 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of Templates: time 0.005181/0.8901, allocations: 2.089 MB / 1.023 GB, free: 13.11 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches