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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 109.2 kB / 16.41 MB, free: 6.512 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.001585/0.001586, allocations: 192.3 kB / 17.35 MB, free: 5.734 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.387/1.387, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.367/2.367, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001619/0.001619, allocations: 63.89 kB / 0.9515 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.961/0.9627, allocations: 140.4 MB / 1.089 GB, free: 5.438 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.00174/0.9644, allocations: 0.6667 MB / 1.089 GB, free: 5.016 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008136/0.9653, allocations: 0.8262 MB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.474e-05/0.9653, allocations: 1.312 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 9.708e-05/0.9654, allocations: 5.109 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 2.264e-05/0.9655, allocations: 9.234 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001561/0.9656, allocations: 20.12 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.708e-05/0.9657, allocations: 33.59 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.9658, allocations: 14.17 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.158e-05/0.9659, allocations: 12.67 kB / 1.09 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.026e-05/0.966, allocations: 20.34 kB / 1.09 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.966, allocations: 3.062 kB / 1.09 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.209e-05/0.966, allocations: 2.531 kB / 1.09 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.497e-05/0.9661, allocations: 13.94 kB / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.696e-05/0.9661, allocations: 12.67 kB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.975e-05/0.9662, allocations: 43.47 kB / 1.09 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.9662, allocations: 0 / 1.09 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.393e-06/0.9662, allocations: 4 kB / 1.09 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.9662, allocations: 0 / 1.09 GB, free: 4.293 MB / 0.8575 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.0004393/0.9667, allocations: 349.8 kB / 1.091 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.9667, allocations: 13.62 kB / 1.091 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.071e-05/0.9668, allocations: 2.875 kB / 1.091 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.9669, allocations: 176.1 kB / 1.091 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.29e-05/0.9669, allocations: 5.5 kB / 1.091 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.629e-05/0.9669, allocations: 2.438 kB / 1.091 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002031/0.9671, allocations: 67.33 kB / 1.091 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.188e-06/0.9672, allocations: 192 / 1.091 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.9672, allocations: 9.344 kB / 1.091 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.9672, allocations: 1.062 kB / 1.091 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001991/0.9674, allocations: 43.69 kB / 1.091 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003295/0.9677, allocations: 271.5 kB / 1.091 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001399/0.9679, allocations: 56.02 kB / 1.091 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.58e-05/0.968, allocations: 20.62 kB / 1.091 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.595e-05/0.968, allocations: 0 / 1.091 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.544e-05/0.968, allocations: 32.28 kB / 1.091 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.968, allocations: 0.9688 kB / 1.091 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003756/0.9684, allocations: 96.8 kB / 1.091 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.501e-05/0.9684, allocations: 51.41 kB / 1.091 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.433e-05/0.9685, allocations: 103.7 kB / 1.092 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.327e-06/0.9685, allocations: 26.7 kB / 1.092 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.855e-05/0.9685, allocations: 87.47 kB / 1.092 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.429e-05/0.9686, allocations: 8.469 kB / 1.092 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.17e-05/0.9686, allocations: 18.94 kB / 1.092 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.368e-05/0.9687, allocations: 318 kB / 1.092 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.63e-05/0.9688, allocations: 18.78 kB / 1.092 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.638e-05/0.9688, allocations: 19.64 kB / 1.092 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001745/0.969, allocations: 44.47 kB / 1.092 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.969, allocations: 4.812 kB / 1.092 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002077/0.9692, allocations: 69.34 kB / 1.092 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.9693, allocations: 6.297 kB / 1.092 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.9693, allocations: 0 / 1.092 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.9693, allocations: 1.297 kB / 1.092 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.9694, allocations: 13.14 kB / 1.092 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.9694, allocations: 1.094 kB / 1.092 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.692e-05/0.9695, allocations: 14.81 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.9695, allocations: 4.969 kB / 1.092 GB, free: 2.535 MB / 0.8575 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 8.544e-05/0.9696, allocations: 114.6 kB / 1.092 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.473e-05/0.9696, allocations: 5.344 kB / 1.092 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.099e-05/0.9696, allocations: 7.828 kB / 1.092 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.9697, allocations: 2.047 kB / 1.092 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.9697, allocations: 0 / 1.092 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.777e-05/0.9697, allocations: 79.28 kB / 1.092 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.9697, allocations: 0.7969 kB / 1.092 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.901e-05/0.9698, allocations: 13.59 kB / 1.092 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.813e-05/0.9699, allocations: 8.531 kB / 1.092 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002712/0.9701, allocations: 152.4 kB / 1.093 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002513/0.9704, allocations: 246.1 kB / 1.093 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.922e-05/0.9705, allocations: 21.98 kB / 1.093 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.599e-05/0.9705, allocations: 85.91 kB / 1.093 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of Backend: time 4.21e-07/0.9705, allocations: 0 / 1.093 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004132/0.971, allocations: 94.94 kB / 1.093 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0003763/0.9713, allocations: 0.5818 MB / 1.094 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of Templates: time 0.00316/0.9745, allocations: 0.6964 MB / 1.094 GB, free: 1.133 MB / 0.8575 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches