Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.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.IntegerScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.y|reaToInt.y|intRep.y.1.|intRep.y.2.|intRep.y.3.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.y|reaToInt.y|intRep.y.1.|intRep.y.2.|intRep.y.3.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.428/2.428, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001116/0.001116, allocations: 186.7 kB / 0.4902 GB, free: 2.258 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.681/1.681, allocations: 223.2 MB / 0.7992 GB, free: 14.73 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.001024/0.001024, allocations: 96.25 kB / 0.9396 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000374/0.000374, allocations: 10.72 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3147/0.3151, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2305/0.5457, allocations: 149.8 MB / 1.375 GB, free: 3.789 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000299/0.5461, allocations: 75.89 kB / 1.376 GB, free: 3.715 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003634/0.5497, allocations: 0.8105 MB / 1.376 GB, free: 2.898 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.178e-06/0.5498, allocations: 0 / 1.376 GB, free: 2.898 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.047e-05/0.5498, allocations: 0 / 1.376 GB, free: 2.898 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006039/0.5504, allocations: 348.4 kB / 1.377 GB, free: 2.512 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.46e-05/0.5505, allocations: 8.562 kB / 1.377 GB, free: 2.504 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.947e-05/0.5505, allocations: 11.98 kB / 1.377 GB, free: 2.492 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002627/0.5508, allocations: 179 kB / 1.377 GB, free: 2.277 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.946e-05/0.5509, allocations: 7.922 kB / 1.377 GB, free: 2.27 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.55e-05/0.5509, allocations: 8 kB / 1.377 GB, free: 2.262 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000343/0.5513, allocations: 57.67 kB / 1.377 GB, free: 2.199 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.5513, allocations: 0 / 1.377 GB, free: 2.199 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.458e-05/0.5514, allocations: 4 kB / 1.377 GB, free: 2.195 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.5514, allocations: 4 kB / 1.377 GB, free: 2.191 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003687/0.5518, allocations: 51.95 kB / 1.377 GB, free: 2.141 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006456/0.5524, allocations: 288.7 kB / 1.377 GB, free: 1.809 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002489/0.5527, allocations: 42.56 kB / 1.377 GB, free: 1.758 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.5527, allocations: 0 / 1.377 GB, free: 1.758 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.055e-05/0.5528, allocations: 34.55 kB / 1.377 GB, free: 1.715 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.843e-06/0.5528, allocations: 0 / 1.377 GB, free: 1.715 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.000701/0.5535, allocations: 113.6 kB / 1.377 GB, free: 1.598 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.299e-05/0.5536, allocations: 51.41 kB / 1.377 GB, free: 1.535 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.5538, allocations: 109 kB / 1.378 GB, free: 1.422 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.264e-05/0.5538, allocations: 25.7 kB / 1.378 GB, free: 1.391 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.094e-05/0.5539, allocations: 84.05 kB / 1.378 GB, free: 1.305 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.655e-05/0.5539, allocations: 7.906 kB / 1.378 GB, free: 1.297 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.532e-06/0.554, allocations: 0 / 1.378 GB, free: 1.297 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001787/0.5542, allocations: 314.8 kB / 1.378 GB, free: 0.9805 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001612/0.5543, allocations: 23.97 kB / 1.378 GB, free: 0.957 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000118/0.5545, allocations: 23.98 kB / 1.378 GB, free: 0.9336 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001921/0.5547, allocations: 23.98 kB / 1.378 GB, free: 0.9102 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.5547, allocations: 0 / 1.378 GB, free: 0.9102 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004281/0.5551, allocations: 85.66 kB / 1.378 GB, free: 0.8203 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.5552, allocations: 11.92 kB / 1.378 GB, free: 0.8086 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.5552, allocations: 0 / 1.378 GB, free: 0.8086 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.5552, allocations: 0 / 1.378 GB, free: 0.8086 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002185/0.5555, allocations: 15.98 kB / 1.378 GB, free: 0.793 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.383e-05/0.5555, allocations: 8.234 kB / 1.378 GB, free: 0.7852 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001063/0.5556, allocations: 4 kB / 1.378 GB, free: 0.7812 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.448e-05/0.5556, allocations: 4 kB / 1.378 GB, free: 0.7773 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 0.0001422/0.5558, allocations: 117.8 kB / 1.378 GB, free: 0.6523 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.279e-05/0.5559, allocations: 4 kB / 1.378 GB, free: 0.6484 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.805e-05/0.5559, allocations: 3.125 kB / 1.378 GB, free: 0.6484 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.5559, allocations: 0 / 1.378 GB, free: 0.6484 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.5559, allocations: 0 / 1.378 GB, free: 0.6484 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.556, allocations: 7.953 kB / 1.378 GB, free: 0.6406 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002803/0.5562, allocations: 169.6 kB / 1.378 GB, free: 436 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.5563, allocations: 0 / 1.378 GB, free: 436 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001243/0.5564, allocations: 11.98 kB / 1.379 GB, free: 424 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.5564, allocations: 4 kB / 1.379 GB, free: 420 kB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.5564, allocations: 0 / 1.379 GB, free: 420 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.5565, allocations: 0 / 1.379 GB, free: 420 kB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.5565, allocations: 0 / 1.379 GB, free: 420 kB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004651/0.5569, allocations: 187.3 kB / 1.379 GB, free: 216 kB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.56e-05/0.557, allocations: 81.09 kB / 1.379 GB, free: 116 kB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.024e-05/0.5571, allocations: 0 / 1.379 GB, free: 116 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/0.5572, allocations: 12.03 kB / 1.379 GB, free: 104 kB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.146e-05/0.5573, allocations: 7.984 kB / 1.379 GB, free: 96 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.5573, allocations: 4 kB / 1.379 GB, free: 92 kB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.239e-05/0.5574, allocations: 79.28 kB / 1.379 GB, free: 12 kB / 0.8698 GB Notification: Performance of sort global known variables: time 2.31e-07/0.5574, allocations: 0 / 1.379 GB, free: 12 kB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004081/0.5578, allocations: 11.92 kB / 1.379 GB, free: 0 / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 0.0002453/0.5581, allocations: 111.3 kB / 1.379 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003774/0.5585, allocations: 55.95 kB / 1.379 GB, free: 15.83 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.5585, allocations: 0 / 1.379 GB, free: 15.83 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.000183/0.5587, allocations: 27.92 kB / 1.379 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/0.559, allocations: 12.08 kB / 1.379 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004895/0.5595, allocations: 128.6 kB / 1.379 GB, free: 15.64 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000376/0.5599, allocations: 0.6809 MB / 1.38 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 6.451e-05/0.56, allocations: 8 kB / 1.38 GB, free: 14.92 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.17e-05/0.56, allocations: 11.42 kB / 1.38 GB, free: 14.91 MB / 0.8855 GB Notification: Performance of SimCode: time 5.81e-07/0.56, allocations: 0 / 1.38 GB, free: 14.91 MB / 0.8855 GB Notification: Performance of Templates: time 0.003654/0.5637, allocations: 0.5073 MB / 1.38 GB, free: 14.41 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches