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.001389/0.001389, allocations: 116.2 kB / 16.42 MB, free: 6.492 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.001438/0.001438, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.407/1.407, allocations: 222.9 MB / 241.1 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.218/2.218, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 67.91 kB / 0.9516 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9639/0.9652, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.002422/0.9677, allocations: 0.6674 MB / 1.089 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001317/0.969, allocations: 0.8337 MB / 1.09 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.291e-05/0.9691, allocations: 0.8125 kB / 1.09 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001523/0.9693, allocations: 6.109 kB / 1.09 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001398/0.9694, allocations: 12.2 kB / 1.09 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001459/0.9696, allocations: 15.61 kB / 1.09 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001737/0.9697, allocations: 76.75 kB / 1.09 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001977/0.97, allocations: 33.22 kB / 1.09 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.999e-05/0.97, allocations: 40.33 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001324/0.9702, allocations: 47.92 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.956e-05/0.9702, allocations: 5.469 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.364e-05/0.9703, allocations: 5.562 kB / 1.09 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.012e-05/0.9703, allocations: 29.06 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.017e-05/0.9704, allocations: 30.92 kB / 1.09 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002016/0.9706, allocations: 89.31 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.9706, allocations: 0.75 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.216e-06/0.9707, allocations: 0.7969 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.9707, allocations: 0.75 kB / 1.09 GB, free: 4.305 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.0007732/0.9714, allocations: 404.7 kB / 1.091 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.265e-05/0.9715, allocations: 9.781 kB / 1.091 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.36e-05/0.9716, allocations: 8.906 kB / 1.091 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002078/0.9718, allocations: 191.6 kB / 1.091 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.621e-05/0.9718, allocations: 3.469 kB / 1.091 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.094e-05/0.9719, allocations: 8.531 kB / 1.091 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004362/0.9723, allocations: 169.2 kB / 1.091 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.9723, allocations: 192 / 1.091 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/0.9723, allocations: 5.25 kB / 1.091 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.9724, allocations: 1.219 kB / 1.091 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004893/0.9729, allocations: 148.3 kB / 1.091 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006157/0.9735, allocations: 447.6 kB / 1.092 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002954/0.9738, allocations: 115.3 kB / 1.092 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002202/0.974, allocations: 78.52 kB / 1.092 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.198e-05/0.974, allocations: 4.844 kB / 1.092 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.893e-05/0.9741, allocations: 32.27 kB / 1.092 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.9741, allocations: 4.844 kB / 1.092 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0007948/0.9749, allocations: 226 kB / 1.092 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.33e-05/0.9749, allocations: 79.34 kB / 1.092 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.975, allocations: 133.3 kB / 1.092 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.9751, allocations: 25.7 kB / 1.092 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.508e-05/0.9751, allocations: 98.08 kB / 1.093 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.294e-05/0.9751, allocations: 11.48 kB / 1.093 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.178e-05/0.9752, allocations: 26.94 kB / 1.093 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.697e-05/0.9753, allocations: 319 kB / 1.093 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000228/0.9755, allocations: 63 kB / 1.093 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002291/0.9758, allocations: 79.02 kB / 1.093 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004347/0.9762, allocations: 130 kB / 1.093 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.9762, allocations: 0.9688 kB / 1.093 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004905/0.9767, allocations: 168.4 kB / 1.093 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.9767, allocations: 5.562 kB / 1.093 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.9767, allocations: 4 kB / 1.093 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.9768, allocations: 1.625 kB / 1.093 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001981/0.977, allocations: 22.36 kB / 1.093 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.327e-05/0.977, allocations: 1.594 kB / 1.093 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001196/0.9771, allocations: 24.34 kB / 1.093 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.9771, allocations: 1.969 kB / 1.093 GB, free: 2.184 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 9.617e-05/0.9772, allocations: 129.1 kB / 1.094 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.704e-05/0.9773, allocations: 11.19 kB / 1.094 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.642e-05/0.9773, allocations: 11.41 kB / 1.094 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.9773, allocations: 0 / 1.094 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.9773, allocations: 1.422 kB / 1.094 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.335e-05/0.9774, allocations: 83.67 kB / 1.094 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.915e-05/0.9774, allocations: 5.5 kB / 1.094 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000181/0.9776, allocations: 15.61 kB / 1.094 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.9777, allocations: 30.38 kB / 1.094 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006015/0.9783, allocations: 327.9 kB / 1.094 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005195/0.9788, allocations: 417.3 kB / 1.094 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002736/0.9791, allocations: 88.7 kB / 1.094 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.562e-05/0.9792, allocations: 98.25 kB / 1.095 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of Backend: time 2.81e-07/0.9792, allocations: 1.094 kB / 1.095 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0006755/0.9799, allocations: 151.9 kB / 1.095 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of SimCode: time 0.00058/0.9804, allocations: 0.6326 MB / 1.095 GB, free: 0.6328 MB / 0.8575 GB Notification: Performance of Templates: time 0.005391/0.9859, allocations: 1.475 MB / 1.097 GB, free: 0.5117 MB / 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/jenkins1/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