Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.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.BooleanScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") [: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.67/1.67, allocations: 390.4 MB / 397.7 MB, free: 10.7 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009095/0.0009095, allocations: 191.3 kB / 490.8 MB, free: 11.21 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.018/1.018, allocations: 221.4 MB / 0.7863 GB, free: 13.58 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008083/0.0008083, allocations: 97.59 kB / 0.9264 GB, free: 4.531 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 5.521e-06/5.541e-06, allocations: 0 / 1.072 GB, free: 15.55 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4583/0.4583, allocations: 143 MB / 1.212 GB, free: 156 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1223/0.5807, allocations: 149.4 MB / 1.357 GB, free: 42.29 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001546/0.5809, allocations: 72.56 kB / 1.357 GB, free: 42.22 MB / 0.8855 GB Notification: Performance of FrontEnd: time 0.004124/0.585, allocations: 1.517 MB / 1.359 GB, free: 40.74 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.5851, allocations: 4.5 kB / 1.359 GB, free: 40.73 MB / 0.8855 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.0002098/0.5853, allocations: 365 kB / 1.359 GB, free: 40.33 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 2.817e-05/0.5853, allocations: 8.812 kB / 1.359 GB, free: 40.32 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.825e-05/0.5854, allocations: 7.906 kB / 1.359 GB, free: 40.31 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.5855, allocations: 183.7 kB / 1.36 GB, free: 40.09 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.317e-06/0.5855, allocations: 0 / 1.36 GB, free: 40.09 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/0.5855, allocations: 8.562 kB / 1.36 GB, free: 40.09 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.23e-05/0.5856, allocations: 13.84 kB / 1.36 GB, free: 40.07 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.155e-05/0.5856, allocations: 42.53 kB / 1.36 GB, free: 40.03 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.152e-06/0.5857, allocations: 0 / 1.36 GB, free: 40.03 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-06/0.5857, allocations: 1.156 kB / 1.36 GB, free: 40.03 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.026e-06/0.5857, allocations: 4 kB / 1.36 GB, free: 40.02 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002203/0.5859, allocations: 282.3 kB / 1.36 GB, free: 39.71 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 2.814e-05/0.5859, allocations: 24.12 kB / 1.36 GB, free: 39.68 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.346e-05/0.586, allocations: 12.92 kB / 1.36 GB, free: 39.67 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.807e-06/0.586, allocations: 0 / 1.36 GB, free: 39.67 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.055e-05/0.586, allocations: 40.48 kB / 1.36 GB, free: 39.62 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.586, allocations: 4.531 kB / 1.36 GB, free: 39.61 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3): time 0.0001054/0.5861, allocations: 54.44 kB / 1.36 GB, free: 39.55 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.265e-05/0.5862, allocations: 51.41 kB / 1.36 GB, free: 39.49 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.08e-05/0.5862, allocations: 105.6 kB / 1.36 GB, free: 39.38 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.5862, allocations: 26.36 kB / 1.36 GB, free: 39.35 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 2.435e-05/0.5863, allocations: 88.05 kB / 1.36 GB, free: 39.26 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 6.332e-06/0.5863, allocations: 4.547 kB / 1.36 GB, free: 39.26 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.007e-05/0.5863, allocations: 9.062 kB / 1.36 GB, free: 39.25 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 3.146e-05/0.5863, allocations: 318.7 kB / 1.361 GB, free: 38.93 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.709e-05/0.5864, allocations: 28.47 kB / 1.361 GB, free: 38.9 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.973e-05/0.5864, allocations: 43.34 kB / 1.361 GB, free: 38.85 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001513/0.5866, allocations: 37.34 kB / 1.361 GB, free: 38.82 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.5866, allocations: 1.312 kB / 1.361 GB, free: 38.82 MB / 0.8855 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002272/0.5868, allocations: 110.5 kB / 1.361 GB, free: 38.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 7.965e-06/0.5868, allocations: 4 kB / 1.361 GB, free: 38.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.5868, allocations: 1.375 kB / 1.361 GB, free: 38.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.5869, allocations: 7.906 kB / 1.361 GB, free: 38.69 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.131e-05/0.5869, allocations: 4.578 kB / 1.361 GB, free: 38.69 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.865e-06/0.5869, allocations: 0.6875 kB / 1.361 GB, free: 38.69 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001572/0.587, allocations: 40.03 kB / 1.361 GB, free: 38.65 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.592e-05/0.5871, allocations: 4.656 kB / 1.361 GB, free: 38.65 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($PRE.booPul.y,booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 3.927e-05/0.5871, allocations: 112.8 kB / 1.361 GB, free: 38.54 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.476e-06/0.5871, allocations: 3.906 kB / 1.361 GB, free: 38.53 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.078e-05/0.5872, allocations: 17.58 kB / 1.361 GB, free: 38.52 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.5872, allocations: 4.797 kB / 1.361 GB, free: 38.51 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.5872, allocations: 0 / 1.361 GB, free: 38.51 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.5872, allocations: 1 kB / 1.361 GB, free: 38.51 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.183e-05/0.5872, allocations: 134.2 kB / 1.361 GB, free: 38.34 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.5872, allocations: 4 kB / 1.361 GB, free: 38.34 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.869e-06/0.5872, allocations: 0.5 kB / 1.361 GB, free: 38.34 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.5873, allocations: 4.688 kB / 1.361 GB, free: 38.34 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-06/0.5873, allocations: 3.188 kB / 1.361 GB, free: 38.34 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.5873, allocations: 0.5625 kB / 1.361 GB, free: 38.34 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.5873, allocations: 5.359 kB / 1.361 GB, free: 38.33 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.594e-05/0.5873, allocations: 73.78 kB / 1.361 GB, free: 38.24 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 1.203e-05/0.5874, allocations: 78.73 kB / 1.361 GB, free: 38.15 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.168e-05/0.5874, allocations: 0 / 1.361 GB, free: 38.15 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.28e-05/0.5874, allocations: 0 / 1.361 GB, free: 38.15 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.552e-05/0.5874, allocations: 7.938 kB / 1.361 GB, free: 38.14 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.5874, allocations: 7.156 kB / 1.361 GB, free: 38.14 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.664e-05/0.5874, allocations: 83.27 kB / 1.361 GB, free: 38.05 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001793/0.5876, allocations: 20 kB / 1.361 GB, free: 38.04 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 9.157e-05/0.5877, allocations: 115.7 kB / 1.361 GB, free: 37.91 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001234/0.5878, allocations: 70.86 kB / 1.362 GB, free: 37.84 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.5879, allocations: 0 / 1.362 GB, free: 37.84 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.831e-05/0.5879, allocations: 16.69 kB / 1.362 GB, free: 37.82 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001192/0.588, allocations: 9.016 kB / 1.362 GB, free: 37.82 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001406/0.5882, allocations: 68.41 kB / 1.362 GB, free: 37.73 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.456e-05/0.5882, allocations: 0.696 MB / 1.362 GB, free: 37.01 MB / 0.8855 GB Notification: Performance of SimCode: time 2.01e-07/0.5883, allocations: 5.125 kB / 1.362 GB, free: 37 MB / 0.8855 GB Notification: Performance of Templates: time 0.002198/0.5905, allocations: 0.9162 MB / 1.363 GB, free: 36.18 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches