Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.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.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_9_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_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.266/2.266, allocations: 390.3 MB / 405.3 MB, free: 13.51 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.001067/0.001067, allocations: 181 kB / 498.1 MB, free: 5.738 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.682/1.682, allocations: 223.2 MB / 0.7948 GB, free: 18.88 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.0009435/0.0009435, allocations: 103.8 kB / 0.9346 GB, free: 7.168 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000415/0.000415, allocations: 9.906 kB / 1.084 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/0.3065, allocations: 142.3 MB / 1.223 GB, free: 89.59 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2015/0.5081, allocations: 149 MB / 1.368 GB, free: 4.426 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000208/0.5083, allocations: 63.97 kB / 1.368 GB, free: 4.363 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002434/0.5108, allocations: 0.8233 MB / 1.369 GB, free: 3.539 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.185e-06/0.5108, allocations: 0 / 1.369 GB, free: 3.539 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.304e-05/0.5108, allocations: 4 kB / 1.369 GB, free: 3.535 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.0004339/0.5113, allocations: 347.3 kB / 1.37 GB, free: 3.148 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.5113, allocations: 12.03 kB / 1.37 GB, free: 3.137 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.308e-05/0.5114, allocations: 0 / 1.37 GB, free: 3.137 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001848/0.5116, allocations: 190.7 kB / 1.37 GB, free: 2.91 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.067e-05/0.5116, allocations: 4 kB / 1.37 GB, free: 2.906 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.285e-05/0.5116, allocations: 0 / 1.37 GB, free: 2.906 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002367/0.5119, allocations: 73.66 kB / 1.37 GB, free: 2.828 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.5119, allocations: 0 / 1.37 GB, free: 2.828 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.5119, allocations: 0 / 1.37 GB, free: 2.828 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.5119, allocations: 0 / 1.37 GB, free: 2.828 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001996/0.5121, allocations: 59.95 kB / 1.37 GB, free: 2.77 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003992/0.5125, allocations: 284.8 kB / 1.37 GB, free: 2.441 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001383/0.5127, allocations: 42.56 kB / 1.37 GB, free: 2.391 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/0.5127, allocations: 0 / 1.37 GB, free: 2.391 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.5127, allocations: 34.62 kB / 1.37 GB, free: 2.348 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.5127, allocations: 0 / 1.37 GB, free: 2.348 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0004071/0.5131, allocations: 117.4 kB / 1.37 GB, free: 2.227 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/0.5132, allocations: 51.41 kB / 1.37 GB, free: 2.164 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.741e-05/0.5133, allocations: 93 kB / 1.37 GB, free: 2.066 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.5133, allocations: 25.7 kB / 1.371 GB, free: 2.035 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.135e-05/0.5133, allocations: 96.06 kB / 1.371 GB, free: 1.938 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.442e-05/0.5134, allocations: 3.906 kB / 1.371 GB, free: 1.934 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.137e-06/0.5134, allocations: 4.125 kB / 1.371 GB, free: 1.93 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.5135, allocations: 314.8 kB / 1.371 GB, free: 1.613 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.995e-05/0.5136, allocations: 23.97 kB / 1.371 GB, free: 1.59 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.196e-05/0.5137, allocations: 23.98 kB / 1.371 GB, free: 1.566 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.638e-05/0.5138, allocations: 24.05 kB / 1.371 GB, free: 1.543 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.5138, allocations: 0 / 1.371 GB, free: 1.543 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002277/0.514, allocations: 89.59 kB / 1.371 GB, free: 1.449 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.5141, allocations: 9.812 kB / 1.371 GB, free: 1.441 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.5141, allocations: 0 / 1.371 GB, free: 1.441 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.5141, allocations: 0 / 1.371 GB, free: 1.441 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.5142, allocations: 11.98 kB / 1.371 GB, free: 1.43 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.5142, allocations: 3.953 kB / 1.371 GB, free: 1.426 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.269e-05/0.5143, allocations: 11.98 kB / 1.371 GB, free: 1.414 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.5143, allocations: 256 / 1.371 GB, free: 1.414 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 9.411e-05/0.5144, allocations: 113.9 kB / 1.371 GB, free: 1.293 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.639e-05/0.5144, allocations: 7.906 kB / 1.371 GB, free: 1.285 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.429e-05/0.5145, allocations: 7.109 kB / 1.371 GB, free: 1.277 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.5145, allocations: 8 kB / 1.371 GB, free: 1.27 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.5145, allocations: 0 / 1.371 GB, free: 1.27 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.5145, allocations: 3.953 kB / 1.371 GB, free: 1.266 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000188/0.5147, allocations: 165.7 kB / 1.371 GB, free: 1.055 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.5147, allocations: 0 / 1.371 GB, free: 1.055 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.011e-05/0.5148, allocations: 15.98 kB / 1.371 GB, free: 1.039 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.5148, allocations: 0 / 1.371 GB, free: 1.039 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.5148, allocations: 0 / 1.371 GB, free: 1.039 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.5148, allocations: 0 / 1.371 GB, free: 1.039 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.5148, allocations: 4 kB / 1.371 GB, free: 1.035 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002852/0.5151, allocations: 179.4 kB / 1.372 GB, free: 0.8438 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.545e-05/0.5152, allocations: 85.05 kB / 1.372 GB, free: 0.7422 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.5152, allocations: 0 / 1.372 GB, free: 0.7422 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.68e-05/0.5153, allocations: 7.984 kB / 1.372 GB, free: 0.7344 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.602e-05/0.5153, allocations: 11.97 kB / 1.372 GB, free: 0.7227 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.5153, allocations: 0 / 1.372 GB, free: 0.7227 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.766e-05/0.5154, allocations: 83.31 kB / 1.372 GB, free: 0.6406 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5154, allocations: 4 kB / 1.372 GB, free: 0.6367 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000212/0.5156, allocations: 11.91 kB / 1.372 GB, free: 0.625 MB / 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.0001658/0.5158, allocations: 111 kB / 1.372 GB, free: 0.5078 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002429/0.516, allocations: 55.95 kB / 1.372 GB, free: 464 kB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.5161, allocations: 3.938 kB / 1.372 GB, free: 460 kB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 9.881e-05/0.5162, allocations: 23.98 kB / 1.372 GB, free: 436 kB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000172/0.5163, allocations: 9.5 kB / 1.372 GB, free: 428 kB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003491/0.5167, allocations: 136.8 kB / 1.372 GB, free: 256 kB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/0.517, allocations: 0.6809 MB / 1.373 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.414e-05/0.5171, allocations: 3.938 kB / 1.373 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.939e-05/0.5171, allocations: 11.44 kB / 1.373 GB, free: 15.53 MB / 0.8855 GB Notification: Performance of SimCode: time 3.91e-07/0.5171, allocations: 0 / 1.373 GB, free: 15.53 MB / 0.8855 GB Notification: Performance of Templates: time 0.002436/0.5196, allocations: 0.5052 MB / 1.373 GB, free: 15.02 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches