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/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009999/0.0009996, allocations: 91.38 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008038/0.008038, allocations: 171.7 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.922/2.922, allocations: 462.7 MB / 0.7364 GB, free: 272 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0005275/0.0005276, allocations: 9.875 kB / 0.9028 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.398/0.3986, allocations: 159.6 MB / 1.059 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.0009752/0.3996, allocations: 399.2 kB / 1.059 GB, free: 5.086 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009901/0.4006, allocations: 0.8313 MB / 1.06 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.355e-05/0.4006, allocations: 3.938 kB / 1.06 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 7.744e-05/0.4007, allocations: 0 / 1.06 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.484e-05/0.4008, allocations: 4 kB / 1.06 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001396/0.4009, allocations: 19.92 kB / 1.06 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.373e-05/0.401, allocations: 27.97 kB / 1.06 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.231e-05/0.4011, allocations: 4 kB / 1.06 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.025e-05/0.4011, allocations: 19.86 kB / 1.06 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.211e-05/0.4012, allocations: 15.92 kB / 1.06 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.179e-05/0.4012, allocations: 8 kB / 1.06 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.978e-06/0.4013, allocations: 0 / 1.06 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.617e-05/0.4013, allocations: 7.984 kB / 1.06 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.229e-05/0.4014, allocations: 45.56 kB / 1.06 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.581e-05/0.4015, allocations: 27.88 kB / 1.06 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.4015, allocations: 7.938 kB / 1.06 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.493e-06/0.4015, allocations: 0 / 1.06 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.4015, allocations: 0 / 1.06 GB, free: 4.047 MB / 0.8106 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.0004421/0.4019, allocations: 351.7 kB / 1.06 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.402, allocations: 12.03 kB / 1.06 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.329e-05/0.402, allocations: 4.844 kB / 1.06 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.4022, allocations: 168.4 kB / 1.061 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/0.4022, allocations: 4.375 kB / 1.061 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/0.4022, allocations: 4.375 kB / 1.061 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000199/0.4024, allocations: 74.22 kB / 1.061 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.4024, allocations: 4.125 kB / 1.061 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.948e-06/0.4024, allocations: 3.938 kB / 1.061 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.4025, allocations: 0 / 1.061 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002014/0.4027, allocations: 59.94 kB / 1.061 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000375/0.403, allocations: 276.7 kB / 1.061 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001456/0.4032, allocations: 54.48 kB / 1.061 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.4033, allocations: 28.91 kB / 1.061 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.461e-05/0.4033, allocations: 0 / 1.061 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.4034, allocations: 42.55 kB / 1.061 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.213e-06/0.4034, allocations: 0 / 1.061 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003876/0.4038, allocations: 101.6 kB / 1.061 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.4038, allocations: 51.41 kB / 1.061 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.92e-05/0.4039, allocations: 109.8 kB / 1.061 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.4039, allocations: 29.64 kB / 1.061 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.723e-05/0.404, allocations: 84.05 kB / 1.061 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.82e-05/0.404, allocations: 12.03 kB / 1.061 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.53e-05/0.404, allocations: 13.72 kB / 1.061 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.4041, allocations: 318.8 kB / 1.062 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.55e-05/0.4042, allocations: 23.98 kB / 1.062 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.546e-05/0.4043, allocations: 27.98 kB / 1.062 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001754/0.4045, allocations: 48.81 kB / 1.062 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.4045, allocations: 0 / 1.062 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002206/0.4047, allocations: 81.72 kB / 1.062 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.4048, allocations: 5.25 kB / 1.062 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-06/0.4048, allocations: 0 / 1.062 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.4048, allocations: 3.938 kB / 1.062 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.4049, allocations: 15.98 kB / 1.062 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.4049, allocations: 0 / 1.062 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.941e-05/0.405, allocations: 16.02 kB / 1.062 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.04e-06/0.405, allocations: 0 / 1.062 GB, free: 1.832 MB / 0.8106 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001322/0.4051, allocations: 115.3 kB / 1.062 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.448e-05/0.4052, allocations: 4 kB / 1.062 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.057e-05/0.4052, allocations: 11.06 kB / 1.062 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.4052, allocations: 3.984 kB / 1.062 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.4052, allocations: 0 / 1.062 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.4052, allocations: 4 kB / 1.062 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001808/0.4054, allocations: 165.6 kB / 1.062 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.4054, allocations: 0 / 1.062 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.901e-05/0.4055, allocations: 8.25 kB / 1.062 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.4055, allocations: 4 kB / 1.062 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.4055, allocations: 7.984 kB / 1.062 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.4055, allocations: 7.922 kB / 1.062 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.4055, allocations: 0 / 1.062 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002776/0.4058, allocations: 191.3 kB / 1.062 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.783e-05/0.4059, allocations: 77.11 kB / 1.063 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.121e-05/0.4059, allocations: 0 / 1.063 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.055e-05/0.406, allocations: 20.02 kB / 1.063 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.831e-05/0.406, allocations: 3.984 kB / 1.063 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-06/0.406, allocations: 4 kB / 1.063 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.849e-05/0.4061, allocations: 83.28 kB / 1.063 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4061, allocations: 0 / 1.063 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002085/0.4063, allocations: 4 kB / 1.063 GB, free: 1.043 MB / 0.8106 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001404/0.4064, allocations: 97.08 kB / 1.063 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002255/0.4067, allocations: 59.89 kB / 1.063 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.4067, allocations: 0 / 1.063 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.4068, allocations: 31.91 kB / 1.063 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002256/0.407, allocations: 8.125 kB / 1.063 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003031/0.4073, allocations: 124.7 kB / 1.063 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002775/0.4076, allocations: 0.6848 MB / 1.064 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.674e-05/0.4077, allocations: 4 kB / 1.064 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.021e-05/0.4077, allocations: 15.42 kB / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.4077, allocations: 0 / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of Templates: time 0.002573/0.4103, allocations: 0.5168 MB / 1.064 GB, free: 15.45 MB / 0.8262 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches