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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009972/0.000997, allocations: 99.03 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 182.8 kB / 16.92 MB, free: 6.918 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.442/1.442, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.575/2.575, allocations: 390.9 MB / 0.667 GB, free: 2.422 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000554/0.000554, allocations: 12 kB / 0.8166 GB, free: 13.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8033/0.8039, allocations: 142.4 MB / 0.9557 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.0007318/0.8047, allocations: 401.9 kB / 0.9561 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007487/0.8054, allocations: 0.8243 MB / 0.9569 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.14e-05/0.8055, allocations: 0 / 0.9569 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 7.779e-05/0.8056, allocations: 9.125 kB / 0.9569 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.707e-05/0.8057, allocations: 10.2 kB / 0.9569 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 9.233e-05/0.8058, allocations: 15.64 kB / 0.9569 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.696e-05/0.8059, allocations: 69.41 kB / 0.957 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.806, allocations: 27.89 kB / 0.957 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.581e-05/0.8061, allocations: 35.05 kB / 0.9571 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.7e-05/0.8061, allocations: 39.52 kB / 0.9571 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.9e-05/0.8062, allocations: 2.656 kB / 0.9571 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.214e-05/0.8062, allocations: 2.938 kB / 0.9571 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.427e-05/0.8062, allocations: 20.33 kB / 0.9571 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.291e-05/0.8063, allocations: 60.3 kB / 0.9572 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.705e-05/0.8064, allocations: 57.69 kB / 0.9572 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.8064, allocations: 0.875 kB / 0.9572 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.503e-06/0.8064, allocations: 0 / 0.9572 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.8064, allocations: 1 kB / 0.9572 GB, free: 6.594 MB / 0.7169 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.0005265/0.8069, allocations: 398.6 kB / 0.9576 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.807, allocations: 8.938 kB / 0.9576 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.431e-05/0.807, allocations: 9 kB / 0.9576 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.8071, allocations: 197.1 kB / 0.9578 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/0.8072, allocations: 11.56 kB / 0.9578 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/0.8072, allocations: 8.594 kB / 0.9578 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003647/0.8076, allocations: 171.6 kB / 0.958 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.914e-06/0.8076, allocations: 192 / 0.958 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.8076, allocations: 5.125 kB / 0.958 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.8076, allocations: 5.281 kB / 0.958 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004534/0.8081, allocations: 176.1 kB / 0.9582 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004635/0.8085, allocations: 434.1 kB / 0.9586 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002821/0.8088, allocations: 127.9 kB / 0.9587 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002173/0.8091, allocations: 95.8 kB / 0.9588 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.8091, allocations: 1.281 kB / 0.9588 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.597e-05/0.8091, allocations: 35.78 kB / 0.9588 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.223e-06/0.8091, allocations: 0 / 0.9588 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0007883/0.8099, allocations: 261.6 kB / 0.9591 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/0.8099, allocations: 84.98 kB / 0.9592 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.739e-05/0.81, allocations: 128.2 kB / 0.9593 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.8101, allocations: 29.7 kB / 0.9593 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.781e-05/0.8101, allocations: 96.27 kB / 0.9594 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.978e-05/0.8101, allocations: 17.83 kB / 0.9594 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.871e-05/0.8102, allocations: 25.42 kB / 0.9595 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.406e-05/0.8102, allocations: 312.8 kB / 0.9598 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002115/0.8104, allocations: 74.84 kB / 0.9598 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002033/0.8106, allocations: 90.95 kB / 0.9599 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003835/0.811, allocations: 151.8 kB / 0.9601 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.811, allocations: 0 / 0.9601 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000438/0.8115, allocations: 185.7 kB / 0.9602 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.8115, allocations: 6.906 kB / 0.9602 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.8115, allocations: 1.375 kB / 0.9602 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.8115, allocations: 0 / 0.9602 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001725/0.8117, allocations: 27.22 kB / 0.9603 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.8117, allocations: 13.23 kB / 0.9603 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000115/0.8118, allocations: 29.75 kB / 0.9603 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.8119, allocations: 1.375 kB / 0.9603 GB, free: 4.043 MB / 0.7169 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 7.664e-05/0.8119, allocations: 136.8 kB / 0.9604 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.41e-05/0.812, allocations: 10.64 kB / 0.9605 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.755e-05/0.812, allocations: 10.28 kB / 0.9605 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.812, allocations: 0 / 0.9605 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.812, allocations: 5.312 kB / 0.9605 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.8121, allocations: 1.375 kB / 0.9605 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001964/0.8123, allocations: 195.6 kB / 0.9607 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.8123, allocations: 0 / 0.9607 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001415/0.8124, allocations: 31.22 kB / 0.9607 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.8124, allocations: 1.375 kB / 0.9607 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.8124, allocations: 1.375 kB / 0.9607 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.21e-05/0.8124, allocations: 3.984 kB / 0.9607 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.8125, allocations: 5.312 kB / 0.9607 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004737/0.8129, allocations: 362.6 kB / 0.961 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.035e-05/0.813, allocations: 78.48 kB / 0.9611 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.813, allocations: 1.375 kB / 0.9611 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001732/0.8132, allocations: 21.66 kB / 0.9611 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.176e-05/0.8133, allocations: 25.38 kB / 0.9612 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-06/0.8133, allocations: 5.875 kB / 0.9612 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.015e-05/0.8133, allocations: 98.77 kB / 0.9613 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8133, allocations: 0 / 0.9613 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002746/0.8136, allocations: 18.84 kB / 0.9613 GB, free: 3.152 MB / 0.7169 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.0001042/0.8137, allocations: 106.5 kB / 0.9614 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004906/0.8142, allocations: 161.2 kB / 0.9615 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.8142, allocations: 0 / 0.9615 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002481/0.8145, allocations: 93.47 kB / 0.9616 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003429/0.8148, allocations: 5.25 kB / 0.9616 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004459/0.8153, allocations: 249 kB / 0.9619 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000131/0.8154, allocations: 0.6991 MB / 0.9626 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.889e-05/0.8155, allocations: 11.81 kB / 0.9626 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.8155, allocations: 0 / 0.9626 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of Templates: time 0.002932/0.8184, allocations: 1.208 MB / 0.9637 GB, free: 1.402 MB / 0.7169 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