Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_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 10.0.0-master/package.mo): time 1.702/1.702, allocations: 390.4 MB / 397.7 MB, free: 11.22 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.0008994/0.0008994, allocations: 181.2 kB / 490.8 MB, free: 1.914 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.051/1.051, allocations: 221.4 MB / 0.7863 GB, free: 13.64 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008096/0.0008097, allocations: 90.67 kB / 0.9264 GB, free: 14.17 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.952e-06/5.972e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1647/0.1647, allocations: 143 MB / 1.212 GB, free: 40.09 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4275/0.5922, allocations: 149.4 MB / 1.357 GB, free: 17.42 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001653/0.5924, allocations: 69.7 kB / 1.358 GB, free: 17.42 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.007628/0.6001, allocations: 2.716 MB / 1.36 GB, free: 17.26 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.6001, allocations: 1 kB / 1.36 GB, free: 17.26 MB / 0.823 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.0002983/0.6004, allocations: 416.6 kB / 1.361 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.737e-05/0.6004, allocations: 9.938 kB / 1.361 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.272e-05/0.6005, allocations: 14.47 kB / 1.361 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002089/0.6007, allocations: 224 kB / 1.361 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.6007, allocations: 9.297 kB / 1.361 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.492e-05/0.6007, allocations: 10.92 kB / 1.361 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.48e-05/0.6008, allocations: 41.36 kB / 1.361 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/0.6009, allocations: 89.84 kB / 1.361 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.6009, allocations: 5.062 kB / 1.361 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.799e-06/0.601, allocations: 0.7031 kB / 1.361 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.601, allocations: 1.219 kB / 1.361 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004394/0.6014, allocations: 475.8 kB / 1.361 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.291e-05/0.6015, allocations: 52.22 kB / 1.361 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.986e-05/0.6015, allocations: 27.83 kB / 1.361 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.356e-06/0.6015, allocations: 6.297 kB / 1.361 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.166e-05/0.6016, allocations: 96.39 kB / 1.362 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.6016, allocations: 0 / 1.362 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0001656/0.6018, allocations: 90.45 kB / 1.362 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.886e-05/0.6018, allocations: 80.98 kB / 1.362 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.626e-05/0.6019, allocations: 129.3 kB / 1.362 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/0.6019, allocations: 34.48 kB / 1.362 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.613e-05/0.602, allocations: 96.8 kB / 1.362 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.165e-05/0.602, allocations: 10.42 kB / 1.362 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.9e-05/0.602, allocations: 3.531 kB / 1.362 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.367e-05/0.6021, allocations: 322.8 kB / 1.362 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000158/0.6022, allocations: 128.1 kB / 1.362 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001615/0.6024, allocations: 161.7 kB / 1.363 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003316/0.6028, allocations: 133.8 kB / 1.363 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.6028, allocations: 0 / 1.363 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005745/0.6033, allocations: 333.5 kB / 1.363 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.057e-06/0.6034, allocations: 5.406 kB / 1.363 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.6034, allocations: 1.406 kB / 1.363 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.6034, allocations: 2.625 kB / 1.363 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.385e-05/0.6034, allocations: 6.812 kB / 1.363 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.6034, allocations: 2.125 kB / 1.363 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003358/0.6038, allocations: 88.14 kB / 1.363 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.942e-05/0.6038, allocations: 10.62 kB / 1.363 GB, free: 31.32 MB / 0.8386 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 7.691e-05/0.6039, allocations: 121 kB / 1.363 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.272e-05/0.6039, allocations: 7.312 kB / 1.363 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.404e-05/0.6039, allocations: 11.62 kB / 1.363 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.6039, allocations: 0.8438 kB / 1.363 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.6039, allocations: 0.7188 kB / 1.363 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.6039, allocations: 6.359 kB / 1.363 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.881e-05/0.604, allocations: 159 kB / 1.363 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.604, allocations: 0 / 1.363 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.654e-06/0.604, allocations: 5.812 kB / 1.363 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.6041, allocations: 5.062 kB / 1.363 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.6041, allocations: 2.609 kB / 1.363 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.6041, allocations: 1.344 kB / 1.363 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.6041, allocations: 3.906 kB / 1.363 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001057/0.6042, allocations: 133.4 kB / 1.364 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.576e-05/0.6042, allocations: 83.92 kB / 1.364 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.732e-05/0.6042, allocations: 8.328 kB / 1.364 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.085e-05/0.6043, allocations: 3.938 kB / 1.364 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.241e-05/0.6043, allocations: 4.625 kB / 1.364 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.802e-06/0.6043, allocations: 8.641 kB / 1.364 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4.509e-05/0.6043, allocations: 93.92 kB / 1.364 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002215/0.6046, allocations: 35.09 kB / 1.364 GB, free: 30.75 MB / 0.8386 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.0001045/0.6047, allocations: 116.4 kB / 1.364 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002855/0.605, allocations: 235.7 kB / 1.364 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.605, allocations: 0 / 1.364 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.436e-05/0.605, allocations: 36.88 kB / 1.364 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001525/0.6052, allocations: 15.64 kB / 1.364 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002237/0.6054, allocations: 140.3 kB / 1.364 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001924/0.6056, allocations: 0.7209 MB / 1.365 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of SimCode: time 2.21e-07/0.6056, allocations: 0 / 1.365 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of Templates: time 0.003326/0.609, allocations: 1.859 MB / 1.367 GB, free: 29.62 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches