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.001556/0.001556, allocations: 101.4 kB / 16.27 MB, free: 6.414 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.001654/0.001654, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.311/1.311, allocations: 222.9 MB / 240.9 MB, free: 15.28 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.3/2.3, allocations: 390.3 MB / 0.6653 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001574, allocations: 62.39 kB / 0.8132 GB, free: 33.02 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3294/0.331, allocations: 140.4 MB / 0.9503 GB, free: 8.844 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.002516/0.3335, allocations: 0.6677 MB / 0.9509 GB, free: 8.168 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001255/0.3348, allocations: 0.8332 MB / 0.9518 GB, free: 7.324 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.013e-05/0.3349, allocations: 0 / 0.9518 GB, free: 7.324 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.00011/0.335, allocations: 3.938 kB / 0.9518 GB, free: 7.32 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001137/0.3352, allocations: 11.94 kB / 0.9518 GB, free: 7.309 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001334/0.3354, allocations: 23.91 kB / 0.9518 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001473/0.3355, allocations: 67.89 kB / 0.9519 GB, free: 7.219 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000182/0.3357, allocations: 35.97 kB / 0.9519 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.575e-05/0.3358, allocations: 35.86 kB / 0.9519 GB, free: 7.148 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/0.3359, allocations: 43.83 kB / 0.952 GB, free: 7.105 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.688e-05/0.336, allocations: 8 kB / 0.952 GB, free: 7.098 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.947e-05/0.336, allocations: 4 kB / 0.952 GB, free: 7.094 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.791e-05/0.3361, allocations: 31.91 kB / 0.952 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.612e-05/0.3361, allocations: 35.8 kB / 0.952 GB, free: 7.027 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001556/0.3363, allocations: 83.73 kB / 0.9521 GB, free: 6.945 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.3363, allocations: 0 / 0.9521 GB, free: 6.945 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.094e-06/0.3363, allocations: 0 / 0.9521 GB, free: 6.945 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.984e-06/0.3363, allocations: 0 / 0.9521 GB, free: 6.945 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.0007516/0.3371, allocations: 407.4 kB / 0.9525 GB, free: 6.496 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.3371, allocations: 8.031 kB / 0.9525 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.056e-05/0.3372, allocations: 8.844 kB / 0.9525 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002065/0.3374, allocations: 196.3 kB / 0.9527 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.289e-05/0.3375, allocations: 4.375 kB / 0.9527 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.346e-05/0.3375, allocations: 8.375 kB / 0.9527 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004097/0.3379, allocations: 159.8 kB / 0.9529 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.3379, allocations: 192 / 0.9529 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.119e-05/0.3379, allocations: 7.938 kB / 0.9529 GB, free: 6.062 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.433e-06/0.338, allocations: 4 kB / 0.9529 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004918/0.3385, allocations: 151.8 kB / 0.953 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006292/0.3391, allocations: 448.6 kB / 0.9535 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003104/0.3394, allocations: 121.1 kB / 0.9536 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002232/0.3397, allocations: 73.69 kB / 0.9536 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.3397, allocations: 8.141 kB / 0.9537 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.3397, allocations: 34.56 kB / 0.9537 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 2.745e-06/0.3397, allocations: 0 / 0.9537 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0007842/0.3405, allocations: 229.4 kB / 0.9539 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.765e-05/0.3406, allocations: 81.05 kB / 0.954 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.3407, allocations: 133.6 kB / 0.9541 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.229e-05/0.3408, allocations: 29.95 kB / 0.9541 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.247e-05/0.3409, allocations: 96.05 kB / 0.9542 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.651e-05/0.3409, allocations: 11.89 kB / 0.9542 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.323e-05/0.341, allocations: 17.72 kB / 0.9543 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001745/0.3412, allocations: 318.8 kB / 0.9546 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002096/0.3414, allocations: 59.92 kB / 0.9546 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002192/0.3416, allocations: 85.62 kB / 0.9547 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004092/0.342, allocations: 121.6 kB / 0.9548 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.342, allocations: 0 / 0.9548 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004909/0.3425, allocations: 169.4 kB / 0.955 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.702e-05/0.3426, allocations: 11.98 kB / 0.955 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-06/0.3426, allocations: 0 / 0.955 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.3426, allocations: 0 / 0.955 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001807/0.3428, allocations: 20.34 kB / 0.955 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.3428, allocations: 7.938 kB / 0.955 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/0.3429, allocations: 23.97 kB / 0.955 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.343, allocations: 3.938 kB / 0.955 GB, free: 3.684 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.0001091/0.3431, allocations: 129.8 kB / 0.9552 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.12e-05/0.3431, allocations: 11.84 kB / 0.9552 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.773e-05/0.3432, allocations: 7.531 kB / 0.9552 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.3432, allocations: 4 kB / 0.9552 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.3432, allocations: 3.938 kB / 0.9552 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.3432, allocations: 0 / 0.9552 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002916/0.3435, allocations: 201.6 kB / 0.9554 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.3435, allocations: 4 kB / 0.9554 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001405/0.3437, allocations: 23.97 kB / 0.9554 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.3437, allocations: 4 kB / 0.9554 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.3437, allocations: 0 / 0.9554 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3437, allocations: 0 / 0.9554 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.3437, allocations: 3.938 kB / 0.9554 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005354/0.3443, allocations: 338.7 kB / 0.9557 GB, free: 2.887 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.685e-05/0.3443, allocations: 85.02 kB / 0.9558 GB, free: 2.785 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.3443, allocations: 0 / 0.9558 GB, free: 2.785 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.3445, allocations: 15.97 kB / 0.9558 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.254e-05/0.3446, allocations: 27.91 kB / 0.9559 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.3446, allocations: 4 kB / 0.9559 GB, free: 2.738 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.749e-05/0.3447, allocations: 99.27 kB / 0.956 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3447, allocations: 0 / 0.956 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002838/0.345, allocations: 12 kB / 0.956 GB, free: 2.629 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.0001392/0.3451, allocations: 103.2 kB / 0.9561 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004806/0.3456, allocations: 139.8 kB / 0.9562 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3456, allocations: 0 / 0.9562 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002611/0.3459, allocations: 79.91 kB / 0.9563 GB, free: 2.305 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003737/0.3463, allocations: 15.98 kB / 0.9563 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005352/0.3468, allocations: 231.9 kB / 0.9565 GB, free: 2.027 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002946/0.3471, allocations: 0.7039 MB / 0.9572 GB, free: 1.297 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.411e-05/0.3472, allocations: 15.42 kB / 0.9572 GB, free: 1.281 MB / 0.7325 GB Notification: Performance of SimCode: time 3.41e-07/0.3472, allocations: 288 / 0.9572 GB, free: 1.281 MB / 0.7325 GB Notification: Performance of Templates: time 0.003092/0.3503, allocations: 1.216 MB / 0.9584 GB, free: 76 kB / 0.7325 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