Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001652/0.001652, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002156/0.002156, allocations: 211 kB / 22.24 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.624/1.624, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.468/3.468, allocations: 0.4892 GB / 0.7943 GB, free: 35.7 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ram.1..y|reaToInt.1..y|intRep.y.1|1.|intRep.y.2|2.|intRep.y.3|2.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ram.1..y|reaToInt.1..y|intRep.y.1|1.|intRep.y.2|2.|intRep.y.3|2.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00216/0.00216, allocations: 71.91 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4418/0.444, allocations: 176.1 MB / 1.326 GB, free: 1.844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.00291/0.4469, allocations: 0.6765 MB / 1.326 GB, free: 1.172 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001376/0.4483, allocations: 0.8631 MB / 1.327 GB, free: 304 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.994e-05/0.4483, allocations: 0 / 1.327 GB, free: 304 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001114/0.4484, allocations: 3.938 kB / 1.327 GB, free: 300 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001068/0.4486, allocations: 7.938 kB / 1.327 GB, free: 292 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001306/0.4487, allocations: 19.98 kB / 1.327 GB, free: 272 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001506/0.4488, allocations: 75.75 kB / 1.327 GB, free: 196 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001825/0.449, allocations: 19.98 kB / 1.327 GB, free: 176 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.536e-05/0.4491, allocations: 35.91 kB / 1.327 GB, free: 140 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001328/0.4492, allocations: 51.81 kB / 1.327 GB, free: 88 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.941e-05/0.4493, allocations: 4 kB / 1.327 GB, free: 84 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.942e-05/0.4493, allocations: 4 kB / 1.327 GB, free: 80 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 6.412e-05/0.4493, allocations: 27.92 kB / 1.327 GB, free: 52 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.119e-05/0.4494, allocations: 27.86 kB / 1.327 GB, free: 24 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001851/0.4496, allocations: 95.72 kB / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.4496, allocations: 0 / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4496, allocations: 4 kB / 1.327 GB, free: 15.92 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.735e-06/0.4496, allocations: 0 / 1.327 GB, free: 15.92 MB / 1.029 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.0007149/0.4503, allocations: 318.1 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.4504, allocations: 8.031 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.025e-05/0.4504, allocations: 8.891 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002334/0.4506, allocations: 138.4 kB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.917e-05/0.4507, allocations: 8.375 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.297e-05/0.4507, allocations: 12.2 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000404/0.4511, allocations: 163.8 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.4511, allocations: 192 / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.924e-05/0.4511, allocations: 7.922 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.4511, allocations: 0 / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004434/0.4516, allocations: 147.8 kB / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005902/0.4522, allocations: 384.3 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003024/0.4525, allocations: 117.1 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002136/0.4527, allocations: 77.64 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.614e-05/0.4527, allocations: 3.984 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.913e-05/0.4528, allocations: 38.56 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.4528, allocations: 0 / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0007493/0.4535, allocations: 225.4 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.23e-05/0.4536, allocations: 81.11 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.4537, allocations: 125.7 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.4537, allocations: 25.7 kB / 1.329 GB, free: 13.9 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.55e-05/0.4538, allocations: 96.08 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.581e-05/0.4538, allocations: 16.16 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.704e-05/0.4539, allocations: 29.64 kB / 1.329 GB, free: 13.75 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.454, allocations: 318.8 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001991/0.4542, allocations: 63.91 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002101/0.4544, allocations: 77.64 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003732/0.4548, allocations: 129.6 kB / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.4548, allocations: 0 / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004318/0.4553, allocations: 157.5 kB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.4553, allocations: 8 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.4553, allocations: 4.062 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.4553, allocations: 0 / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001785/0.4555, allocations: 27.97 kB / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.812e-06/0.4555, allocations: 0 / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.4556, allocations: 23.91 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.4556, allocations: 4 kB / 1.33 GB, free: 12.93 MB / 1.029 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.0001307/0.4557, allocations: 132.9 kB / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.305e-05/0.4558, allocations: 7.953 kB / 1.33 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.281e-05/0.4558, allocations: 19.7 kB / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.4558, allocations: 0 / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.4558, allocations: 0 / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.4558, allocations: 3.938 kB / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002244/0.4561, allocations: 137.4 kB / 1.33 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.4561, allocations: 0 / 1.33 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001336/0.4562, allocations: 28.34 kB / 1.33 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.4562, allocations: 3.984 kB / 1.33 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.4562, allocations: 0 / 1.33 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.4562, allocations: 0 / 1.33 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.4562, allocations: 11.94 kB / 1.33 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005412/0.4568, allocations: 338.5 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.31e-05/0.4568, allocations: 4 kB / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.4568, allocations: 0 / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001579/0.4569, allocations: 15.97 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.83e-05/0.457, allocations: 23.97 kB / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.457, allocations: 4 kB / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.219e-05/0.4571, allocations: 103.2 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4571, allocations: 0 / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000267/0.4574, allocations: 15.95 kB / 1.331 GB, free: 12.03 MB / 1.029 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.0001297/0.4575, allocations: 105.6 kB / 1.331 GB, free: 11.92 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000473/0.458, allocations: 139.8 kB / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.458, allocations: 0 / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002365/0.4582, allocations: 87.89 kB / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003449/0.4586, allocations: 12 kB / 1.331 GB, free: 11.69 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004995/0.4591, allocations: 186.3 kB / 1.331 GB, free: 11.48 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001123/0.4592, allocations: 91.44 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.631e-05/0.4593, allocations: 19.98 kB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.295e-05/0.4593, allocations: 19.42 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.4593, allocations: 0 / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of Templates: time 0.004353/0.4637, allocations: 1.357 MB / 1.333 GB, free: 9.984 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Warning: Resultfile and Reference have different end time points! Reffile[342]=3.000000 File[2514]=1.000000 Error: Could not read variable intRep.y[1 in file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat. Warning: Get data of variable intRep.y[1 from file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat failed! Error: Could not read variable 1] in file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat. Warning: Get data of variable 1] from file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat failed! Error: Could not read variable intRep.y[2 in file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat. Warning: Get data of variable intRep.y[2 from file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat failed! Error: Could not read variable 2] in file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat. Warning: Get data of variable 2] from file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat failed! Error: Could not read variable intRep.y[3 in file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat. Warning: Get data of variable intRep.y[3 from file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat failed! Error: Could not read variable 2] in file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat. Warning: Get data of variable 2] from file Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.89656880684197]