Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.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.IntegerVectorReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.1..y|reaToInt.1..y|intRep.y.1|1.|intRep.y.2|2.|intRep.y.3|2.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.1..y|reaToInt.1..y|intRep.y.1|1.|intRep.y.2|2.|intRep.y.3|2.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator") [: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.704/1.704, allocations: 390.4 MB / 397.7 MB, free: 11.24 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.0008992, allocations: 181.3 kB / 490.8 MB, free: 1.938 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.057/1.057, allocations: 221.3 MB / 0.7863 GB, free: 13.66 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.0008164/0.0008164, allocations: 100.3 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.66e-06/5.69e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.1641, allocations: 143 MB / 1.212 GB, free: 40.12 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4472/0.6113, allocations: 149 MB / 1.357 GB, free: 17.13 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001605/0.6115, allocations: 69.67 kB / 1.357 GB, free: 17.13 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.003141/0.6147, allocations: 0.9425 MB / 1.358 GB, free: 17.07 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.6147, allocations: 1.062 kB / 1.358 GB, free: 17.07 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004253/0.6151, allocations: 398.3 kB / 1.358 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.879e-05/0.6152, allocations: 9.188 kB / 1.358 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.249e-05/0.6152, allocations: 7.312 kB / 1.358 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.6153, allocations: 195.7 kB / 1.359 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.6154, allocations: 2.734 kB / 1.359 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.677e-05/0.6154, allocations: 8.125 kB / 1.359 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001476/0.6155, allocations: 92.88 kB / 1.359 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001541/0.6157, allocations: 125.2 kB / 1.359 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.6157, allocations: 0 / 1.359 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.6157, allocations: 0 / 1.359 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.6157, allocations: 2.375 kB / 1.359 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004231/0.6162, allocations: 415.1 kB / 1.359 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.14e-05/0.6163, allocations: 87.11 kB / 1.359 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.666e-05/0.6163, allocations: 51.25 kB / 1.359 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.6164, allocations: 4.875 kB / 1.359 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.291e-05/0.6164, allocations: 36.34 kB / 1.359 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.6164, allocations: 0 / 1.359 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0002083/0.6166, allocations: 103.1 kB / 1.36 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.901e-05/0.6166, allocations: 78.45 kB / 1.36 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.319e-05/0.6167, allocations: 119.5 kB / 1.36 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.6167, allocations: 25.7 kB / 1.36 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.69e-05/0.6168, allocations: 93.92 kB / 1.36 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.464e-05/0.6168, allocations: 11.77 kB / 1.36 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.3e-06/0.6168, allocations: 0 / 1.36 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.6169, allocations: 321.4 kB / 1.36 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.898e-05/0.617, allocations: 35.81 kB / 1.36 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.735e-05/0.617, allocations: 46.39 kB / 1.36 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.38e-05/0.6171, allocations: 31.34 kB / 1.36 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.6171, allocations: 0 / 1.36 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001321/0.6172, allocations: 108.4 kB / 1.36 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.027e-06/0.6172, allocations: 9.703 kB / 1.36 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.6172, allocations: 3.984 kB / 1.36 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.488e-06/0.6173, allocations: 1.406 kB / 1.36 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001812/0.6174, allocations: 28.89 kB / 1.36 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.507e-06/0.6175, allocations: 9.125 kB / 1.36 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001191/0.6176, allocations: 23.38 kB / 1.36 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.6176, allocations: 1.156 kB / 1.36 GB, free: 31.25 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (intRep.u[1],intRep.u[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 6.615e-05/0.6177, allocations: 108.1 kB / 1.361 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.436e-05/0.6177, allocations: 6.062 kB / 1.361 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.182e-05/0.6177, allocations: 14.91 kB / 1.361 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.6178, allocations: 2.594 kB / 1.361 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.6178, allocations: 3.938 kB / 1.361 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.6178, allocations: 1 kB / 1.361 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001597/0.6179, allocations: 171.2 kB / 1.361 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.6179, allocations: 1.219 kB / 1.361 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001485/0.6181, allocations: 32.48 kB / 1.361 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.6181, allocations: 1.469 kB / 1.361 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.6181, allocations: 1.922 kB / 1.361 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.6181, allocations: 0 / 1.361 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.6181, allocations: 2.359 kB / 1.361 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000187/0.6183, allocations: 294.1 kB / 1.361 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.516e-05/0.6183, allocations: 83.06 kB / 1.361 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.6184, allocations: 2.031 kB / 1.361 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001799/0.6185, allocations: 25.88 kB / 1.361 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.018e-05/0.6186, allocations: 18.47 kB / 1.361 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.6186, allocations: 7.625 kB / 1.361 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5.221e-05/0.6187, allocations: 95.39 kB / 1.361 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002433/0.6189, allocations: 20.5 kB / 1.361 GB, free: 30.54 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: 2 (intRep.u[1],intRep.u[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 9.226e-05/0.619, allocations: 104.7 kB / 1.361 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001261/0.6192, allocations: 82 kB / 1.361 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.6192, allocations: 4.125 kB / 1.361 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.127e-05/0.6193, allocations: 65.42 kB / 1.362 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001822/0.6194, allocations: 4.906 kB / 1.362 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002787/0.6197, allocations: 134.7 kB / 1.362 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002719/0.62, allocations: 0.7153 MB / 1.362 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of SimCode: time 2.6e-07/0.62, allocations: 128 / 1.362 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of Templates: time 0.0027/0.6227, allocations: 1.14 MB / 1.363 GB, free: 29.57 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches