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.001337/0.001337, allocations: 107.6 kB / 16.36 MB, free: 6.285 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.001207/0.001208, allocations: 193.2 kB / 17.29 MB, free: 5.863 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.44/1.44, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.29/2.29, allocations: 390.3 MB / 0.6655 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 66.66 kB / 0.814 GB, free: 32.69 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.3122, allocations: 140.4 MB / 0.9511 GB, free: 8.016 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.002677/0.3149, allocations: 0.675 MB / 0.9518 GB, free: 7.34 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001354/0.3163, allocations: 0.8371 MB / 0.9526 GB, free: 6.492 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.741e-05/0.3164, allocations: 11.88 kB / 0.9526 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001261/0.3165, allocations: 0 / 0.9526 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001237/0.3167, allocations: 7.922 kB / 0.9526 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001416/0.3168, allocations: 15.92 kB / 0.9526 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001611/0.317, allocations: 79.88 kB / 0.9527 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001941/0.3172, allocations: 27.98 kB / 0.9527 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.07e-05/0.3173, allocations: 43.83 kB / 0.9528 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001259/0.3174, allocations: 39.84 kB / 0.9528 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.15e-05/0.3175, allocations: 4 kB / 0.9528 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.926e-05/0.3175, allocations: 4 kB / 0.9528 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.224e-05/0.3176, allocations: 31.91 kB / 0.9529 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.732e-05/0.3177, allocations: 39.8 kB / 0.9529 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001714/0.3178, allocations: 87.73 kB / 0.953 GB, free: 6.105 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.894e-06/0.3179, allocations: 0 / 0.953 GB, free: 6.105 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.026e-06/0.3179, allocations: 0 / 0.953 GB, free: 6.105 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.357e-05/0.3179, allocations: 0 / 0.953 GB, free: 6.105 MB / 0.7325 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.0009008/0.3188, allocations: 411.1 kB / 0.9534 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.078e-05/0.3189, allocations: 8.031 kB / 0.9534 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.544e-05/0.3189, allocations: 8.844 kB / 0.9534 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002947/0.3192, allocations: 184.3 kB / 0.9536 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.211e-05/0.3193, allocations: 8.375 kB / 0.9536 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.524e-05/0.3193, allocations: 8.312 kB / 0.9536 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004142/0.3197, allocations: 163.8 kB / 0.9537 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.3198, allocations: 192 / 0.9537 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.3198, allocations: 3.938 kB / 0.9537 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.3198, allocations: 0 / 0.9537 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004396/0.3202, allocations: 159.8 kB / 0.9539 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006536/0.3209, allocations: 452.6 kB / 0.9543 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002663/0.3212, allocations: 109.1 kB / 0.9544 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002045/0.3214, allocations: 85.64 kB / 0.9545 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.3214, allocations: 0 / 0.9545 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.407e-05/0.3215, allocations: 30.56 kB / 0.9545 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.3215, allocations: 0 / 0.9545 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0007141/0.3222, allocations: 229.4 kB / 0.9548 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.374e-05/0.3223, allocations: 77.11 kB / 0.9548 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.3224, allocations: 137.6 kB / 0.955 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.3224, allocations: 29.7 kB / 0.955 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.135e-05/0.3225, allocations: 92.03 kB / 0.9551 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.83e-05/0.3225, allocations: 12.16 kB / 0.9551 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.878e-05/0.3226, allocations: 25.7 kB / 0.9551 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.3227, allocations: 318.8 kB / 0.9554 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000191/0.3229, allocations: 63.92 kB / 0.9555 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001989/0.3231, allocations: 73.62 kB / 0.9555 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003466/0.3234, allocations: 133.5 kB / 0.9557 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3235, allocations: 0 / 0.9557 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004192/0.3239, allocations: 173.4 kB / 0.9558 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.3239, allocations: 4 kB / 0.9558 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.3239, allocations: 0 / 0.9558 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.3239, allocations: 0 / 0.9558 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001805/0.3241, allocations: 23.97 kB / 0.9559 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.3241, allocations: 3.938 kB / 0.9559 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.3243, allocations: 19.91 kB / 0.9559 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.3243, allocations: 12.06 kB / 0.9559 GB, free: 2.844 MB / 0.7325 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.0001199/0.3244, allocations: 127.8 kB / 0.956 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.394e-05/0.3245, allocations: 7.906 kB / 0.956 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.076e-05/0.3245, allocations: 15.52 kB / 0.956 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.3245, allocations: 0 / 0.956 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.3245, allocations: 3.938 kB / 0.956 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.3245, allocations: 0 / 0.956 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002488/0.3248, allocations: 193.8 kB / 0.9562 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3248, allocations: 0 / 0.9562 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001348/0.3249, allocations: 27.97 kB / 0.9563 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.3249, allocations: 0 / 0.9563 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.3249, allocations: 96 / 0.9563 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.325, allocations: 0 / 0.9563 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.325, allocations: 11.88 kB / 0.9563 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005062/0.3255, allocations: 334.7 kB / 0.9566 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.656e-05/0.3255, allocations: 81.02 kB / 0.9567 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.3256, allocations: 3.984 kB / 0.9567 GB, free: 1.957 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001622/0.3257, allocations: 16.36 kB / 0.9567 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.06e-05/0.3258, allocations: 31.89 kB / 0.9567 GB, free: 1.91 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.3258, allocations: 4 kB / 0.9567 GB, free: 1.906 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.924e-05/0.3259, allocations: 95.2 kB / 0.9568 GB, free: 1.812 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.41e-07/0.3259, allocations: 4 kB / 0.9568 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002843/0.3262, allocations: 12 kB / 0.9568 GB, free: 1.797 MB / 0.7325 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.0001243/0.3263, allocations: 103.2 kB / 0.9569 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004582/0.3268, allocations: 143.8 kB / 0.9571 GB, free: 1.547 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3268, allocations: 4.125 kB / 0.9571 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002372/0.3271, allocations: 91.83 kB / 0.9572 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003426/0.3274, allocations: 7.984 kB / 0.9572 GB, free: 1.445 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000459/0.3279, allocations: 201.2 kB / 0.9574 GB, free: 1.223 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002708/0.3282, allocations: 0.7041 MB / 0.958 GB, free: 0.4922 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.408e-05/0.3282, allocations: 23.97 kB / 0.9581 GB, free: 480 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.558e-05/0.3283, allocations: 15.44 kB / 0.9581 GB, free: 464 kB / 0.7325 GB Notification: Performance of SimCode: time 2.71e-07/0.3283, allocations: 0 / 0.9581 GB, free: 464 kB / 0.7325 GB Notification: Performance of Templates: time 0.003619/0.3319, allocations: 1.256 MB / 0.9593 GB, free: 15.2 MB / 0.7481 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 -s cvode -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