Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booRep.u.1.|booRep.y.1|1.|booRep.y.2|2.|booRep.y.3|2.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booRep.u.1.|booRep.y.1|1.|booRep.y.2|2.|booRep.y.3|2.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator") [: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 9.1.1-maint.9.1.x/package.mo): time 1.774/1.774, allocations: 387.2 MB / 394.5 MB, free: 13.63 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009801/0.00098, allocations: 181.4 kB / 487 MB, free: 5.34 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.109/1.109, allocations: 221.3 MB / 0.7819 GB, free: 1.324 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007995/0.0007999, allocations: 105.9 kB / 0.9213 GB, free: 2.57 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.49e-06/5.51e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.179/0.179, allocations: 142.3 MB / 1.205 GB, free: 26.16 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5/0.6791, allocations: 148.6 MB / 1.35 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001652/0.6793, allocations: 68.17 kB / 1.35 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.00779/0.6871, allocations: 2.716 MB / 1.353 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.6871, allocations: 0.9688 kB / 1.353 GB, free: 15.7 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000271/0.6874, allocations: 426.9 kB / 1.353 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.6874, allocations: 14.34 kB / 1.353 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.42e-05/0.6875, allocations: 13.97 kB / 1.353 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002209/0.6877, allocations: 216.1 kB / 1.354 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.676e-06/0.6877, allocations: 1.562 kB / 1.354 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.048e-05/0.6878, allocations: 11.77 kB / 1.354 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.93e-05/0.6879, allocations: 40.38 kB / 1.354 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.688, allocations: 91.05 kB / 1.354 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.688, allocations: 0.8438 kB / 1.354 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.688, allocations: 4 kB / 1.354 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.688, allocations: 1.688 kB / 1.354 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004523/0.6885, allocations: 470.2 kB / 1.354 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.634e-05/0.6885, allocations: 57.41 kB / 1.354 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.196e-05/0.6886, allocations: 27.44 kB / 1.354 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 8.015e-06/0.6886, allocations: 1.344 kB / 1.354 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.67e-05/0.6887, allocations: 88.38 kB / 1.354 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.6887, allocations: 0 / 1.354 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 0.0001853/0.6889, allocations: 101.4 kB / 1.355 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.198e-05/0.6889, allocations: 83.67 kB / 1.355 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.1e-05/0.689, allocations: 128.3 kB / 1.355 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.93e-05/0.689, allocations: 30.2 kB / 1.355 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.148e-05/0.6891, allocations: 103.2 kB / 1.355 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.313e-05/0.6891, allocations: 11.91 kB / 1.355 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.996e-05/0.6891, allocations: 3.5 kB / 1.355 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.885e-05/0.6892, allocations: 322.2 kB / 1.355 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001729/0.6893, allocations: 127.1 kB / 1.355 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000184/0.6895, allocations: 159 kB / 1.355 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003652/0.6899, allocations: 137.3 kB / 1.356 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.6899, allocations: 1.953 kB / 1.356 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00063/0.6905, allocations: 328.3 kB / 1.356 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.6906, allocations: 5.453 kB / 1.356 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.6906, allocations: 2.188 kB / 1.356 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.6906, allocations: 2.406 kB / 1.356 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.65e-05/0.6906, allocations: 10.62 kB / 1.356 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.6906, allocations: 2.75 kB / 1.356 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003633/0.691, allocations: 83.89 kB / 1.356 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.276e-05/0.691, allocations: 14.77 kB / 1.356 GB, free: 13.77 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.booPul[1].y,booPul[1].y,$whenCondition3,$whenCondition4,$PRE.booPul[2].y,booPul[2].y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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 6.302e-05/0.6911, allocations: 113.3 kB / 1.356 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.42e-05/0.6911, allocations: 7.953 kB / 1.356 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.702e-05/0.6911, allocations: 15.34 kB / 1.356 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.6912, allocations: 1.656 kB / 1.356 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.6912, allocations: 0.8438 kB / 1.356 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.6912, allocations: 5.875 kB / 1.356 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.035e-05/0.6913, allocations: 158.2 kB / 1.356 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.6913, allocations: 1.594 kB / 1.356 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.536e-06/0.6913, allocations: 5.562 kB / 1.356 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.6913, allocations: 1.094 kB / 1.356 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.6913, allocations: 1.906 kB / 1.356 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.6913, allocations: 6.359 kB / 1.356 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.6913, allocations: 0.875 kB / 1.356 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001236/0.6914, allocations: 135 kB / 1.356 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.657e-05/0.6915, allocations: 84.56 kB / 1.357 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.6915, allocations: 1.594 kB / 1.357 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.287e-05/0.6915, allocations: 2.891 kB / 1.357 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.547e-05/0.6916, allocations: 5.453 kB / 1.357 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.6916, allocations: 6.906 kB / 1.357 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.546e-05/0.6916, allocations: 98.48 kB / 1.357 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000232/0.6918, allocations: 34.52 kB / 1.357 GB, free: 13.2 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,booPul[1].y,$whenCondition1,$whenCondition2,booPul[2].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001192/0.692, allocations: 125.5 kB / 1.357 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003084/0.6923, allocations: 229.4 kB / 1.357 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.6923, allocations: 0 / 1.357 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.082e-05/0.6923, allocations: 33.42 kB / 1.357 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001632/0.6925, allocations: 24.27 kB / 1.357 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002542/0.6928, allocations: 144.5 kB / 1.357 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001925/0.693, allocations: 0.7168 MB / 1.358 GB, free: 28.23 MB / 0.823 GB Notification: Performance of SimCode: time 2.5e-07/0.693, allocations: 0 / 1.358 GB, free: 28.23 MB / 0.823 GB Notification: Performance of Templates: time 0.003788/0.6968, allocations: 1.847 MB / 1.36 GB, free: 28.08 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches