Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.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.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_9_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_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01036/0.01036, allocations: 104.3 kB / 15.74 MB, free: 6.059 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.001606/0.001606, allocations: 196.4 kB / 16.68 MB, free: 5.969 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.463/1.463, allocations: 222.9 MB / 240.3 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.414/2.414, allocations: 390.2 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 63.91 kB / 0.9508 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.136/1.137, allocations: 140.4 MB / 1.088 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.00228/1.14, allocations: 0.6646 MB / 1.089 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001153/1.141, allocations: 0.8301 MB / 1.089 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.425e-05/1.141, allocations: 0.9062 kB / 1.089 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001128/1.141, allocations: 5.953 kB / 1.089 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001074/1.141, allocations: 11.28 kB / 1.089 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001217/1.141, allocations: 29.77 kB / 1.089 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001553/1.142, allocations: 72.2 kB / 1.089 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001767/1.142, allocations: 36.78 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.903e-05/1.142, allocations: 32.45 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/1.142, allocations: 43.69 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.568e-05/1.142, allocations: 4.875 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.905e-05/1.142, allocations: 5.188 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.969e-05/1.142, allocations: 29.55 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.453e-05/1.142, allocations: 31.47 kB / 1.09 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001699/1.142, allocations: 97.5 kB / 1.09 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/1.142, allocations: 0 / 1.09 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.603e-06/1.142, allocations: 0.875 kB / 1.09 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.983e-06/1.142, allocations: 0.5625 kB / 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006579/1.143, allocations: 401.3 kB / 1.09 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/1.143, allocations: 9.75 kB / 1.09 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.719e-05/1.143, allocations: 9.312 kB / 1.09 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001678/1.143, allocations: 190.6 kB / 1.09 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.668e-05/1.143, allocations: 4.906 kB / 1.09 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.947e-05/1.143, allocations: 11.56 kB / 1.09 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000411/1.144, allocations: 157.8 kB / 1.091 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/1.144, allocations: 1.156 kB / 1.091 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.983e-05/1.144, allocations: 13.08 kB / 1.091 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/1.144, allocations: 5.062 kB / 1.091 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005197/1.144, allocations: 147.6 kB / 1.091 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006577/1.145, allocations: 451.5 kB / 1.091 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003242/1.145, allocations: 119 kB / 1.091 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000246/1.146, allocations: 74.95 kB / 1.091 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/1.146, allocations: 1.531 kB / 1.091 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/1.146, allocations: 39.38 kB / 1.091 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.423e-06/1.146, allocations: 4.781 kB / 1.091 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0008582/1.146, allocations: 222.9 kB / 1.092 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/1.147, allocations: 82.86 kB / 1.092 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/1.147, allocations: 133.2 kB / 1.092 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/1.147, allocations: 26.45 kB / 1.092 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.317e-05/1.147, allocations: 98 kB / 1.092 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.284e-05/1.147, allocations: 11.05 kB / 1.092 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.051e-05/1.147, allocations: 23.08 kB / 1.092 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.732e-05/1.147, allocations: 314.4 kB / 1.092 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002223/1.147, allocations: 63.16 kB / 1.092 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002243/1.147, allocations: 83.78 kB / 1.092 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000401/1.148, allocations: 122.1 kB / 1.092 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/1.148, allocations: 1 kB / 1.092 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004722/1.148, allocations: 167.2 kB / 1.093 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.665e-05/1.148, allocations: 6.297 kB / 1.093 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/1.148, allocations: 0.8125 kB / 1.093 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/1.148, allocations: 0.8125 kB / 1.093 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001937/1.149, allocations: 26.84 kB / 1.093 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/1.149, allocations: 8.562 kB / 1.093 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/1.149, allocations: 23.86 kB / 1.093 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/1.149, allocations: 2.141 kB / 1.093 GB, free: 2.168 MB / 0.8575 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.y[3,1],intRep.y[3,2]) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001141/1.149, allocations: 127.5 kB / 1.093 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.498e-05/1.149, allocations: 6.797 kB / 1.093 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.744e-05/1.149, allocations: 10.83 kB / 1.093 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/1.149, allocations: 0.6875 kB / 1.093 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/1.149, allocations: 6.219 kB / 1.093 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/1.149, allocations: 0 / 1.093 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002649/1.149, allocations: 192.1 kB / 1.093 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.227e-06/1.149, allocations: 5.5 kB / 1.093 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001472/1.149, allocations: 22.72 kB / 1.093 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/1.149, allocations: 1.5 kB / 1.093 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/1.149, allocations: 5.328 kB / 1.093 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/1.149, allocations: 0.7188 kB / 1.093 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/1.149, allocations: 4.531 kB / 1.093 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005324/1.15, allocations: 331.1 kB / 1.093 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.935e-05/1.15, allocations: 88.12 kB / 1.093 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.037e-05/1.15, allocations: 5.484 kB / 1.093 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001606/1.15, allocations: 16.06 kB / 1.093 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/1.15, allocations: 30.16 kB / 1.094 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.704e-06/1.15, allocations: 2.875 kB / 1.094 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.969e-05/1.15, allocations: 101.8 kB / 1.094 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/1.15, allocations: 0 / 1.094 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002681/1.151, allocations: 16.42 kB / 1.094 GB, free: 1.387 MB / 0.8575 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.y[3,1],intRep.y[3,2]) * Number of discrete states: 0 () * Number of clocked 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 (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.0001343/1.151, allocations: 99.95 kB / 1.094 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005155/1.151, allocations: 142.5 kB / 1.094 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/1.151, allocations: 0.7188 kB / 1.094 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002647/1.152, allocations: 86.95 kB / 1.094 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003405/1.152, allocations: 10.27 kB / 1.094 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004976/1.152, allocations: 206 kB / 1.094 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001724/1.153, allocations: 0.7066 MB / 1.095 GB, free: 412 kB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.78e-05/1.153, allocations: 18.02 kB / 1.095 GB, free: 412 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.831e-05/1.153, allocations: 13.12 kB / 1.095 GB, free: 404 kB / 0.8575 GB Notification: Performance of SimCode: time 9.71e-07/1.153, allocations: 0.7812 kB / 1.095 GB, free: 404 kB / 0.8575 GB Notification: Performance of Templates: time 0.004713/1.157, allocations: 1.269 MB / 1.096 GB, free: 284 kB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches