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.001286/0.001286, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.00144/0.00144, allocations: 218.8 kB / 23.01 MB, free: 4.566 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.488/1.488, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.215/3.215, allocations: 0.49 GB / 0.7958 GB, free: 33.44 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.00204/0.00204, allocations: 65.17 kB / 1.155 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.3442, allocations: 176.1 MB / 1.327 GB, free: 1.465 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.001995/0.3462, allocations: 0.6765 MB / 1.328 GB, free: 0.793 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001201/0.3474, allocations: 0.867 MB / 1.329 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.224e-05/0.3474, allocations: 4 kB / 1.329 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001128/0.3475, allocations: 7.922 kB / 1.329 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001041/0.3476, allocations: 7.938 kB / 1.329 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000119/0.3478, allocations: 19.97 kB / 1.329 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000146/0.3479, allocations: 75.77 kB / 1.329 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001446/0.3481, allocations: 23.97 kB / 1.329 GB, free: 15.78 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 7.631e-05/0.3481, allocations: 31.92 kB / 1.329 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.3482, allocations: 43.83 kB / 1.329 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.283e-05/0.3483, allocations: 4 kB / 1.329 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.599e-05/0.3483, allocations: 4 kB / 1.329 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.252e-05/0.3483, allocations: 27.97 kB / 1.329 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.823e-05/0.3484, allocations: 39.78 kB / 1.329 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001527/0.3486, allocations: 91.58 kB / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.3486, allocations: 4 kB / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.724e-06/0.3486, allocations: 0 / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.032e-06/0.3486, allocations: 0 / 1.329 GB, free: 15.54 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.0006724/0.3493, allocations: 318.1 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.3493, allocations: 8.031 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.409e-05/0.3493, allocations: 12.89 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002033/0.3495, allocations: 138.4 kB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.402e-05/0.3496, allocations: 16.38 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/0.3496, allocations: 4.375 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003826/0.35, allocations: 159.8 kB / 1.33 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.35, allocations: 192 / 1.33 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.931e-05/0.35, allocations: 7.938 kB / 1.33 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.35, allocations: 3.984 kB / 1.33 GB, free: 14.81 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004334/0.3504, allocations: 159.8 kB / 1.33 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006376/0.3511, allocations: 419.8 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002899/0.3514, allocations: 121.1 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002096/0.3516, allocations: 73.69 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.3516, allocations: 4 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.3516, allocations: 30.56 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.3516, allocations: 4 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0007367/0.3524, allocations: 225.4 kB / 1.331 GB, free: 13.71 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.825e-05/0.3524, allocations: 81.11 kB / 1.331 GB, free: 13.61 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.3526, allocations: 137.9 kB / 1.331 GB, free: 13.47 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.3526, allocations: 25.7 kB / 1.331 GB, free: 13.44 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.542e-05/0.3526, allocations: 96.03 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.747e-05/0.3527, allocations: 11.91 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.66e-05/0.3527, allocations: 21.7 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.3529, allocations: 322.8 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001947/0.3531, allocations: 59.92 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001971/0.3533, allocations: 81.62 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003696/0.3536, allocations: 125.6 kB / 1.332 GB, free: 12.7 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3536, allocations: 4 kB / 1.332 GB, free: 12.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000429/0.3541, allocations: 157.5 kB / 1.332 GB, free: 12.54 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.3541, allocations: 6.031 kB / 1.332 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.3541, allocations: 7.984 kB / 1.332 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.3541, allocations: 0 / 1.332 GB, free: 12.53 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001745/0.3543, allocations: 20.03 kB / 1.332 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.3543, allocations: 11.94 kB / 1.332 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001174/0.3544, allocations: 11.98 kB / 1.332 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.3544, allocations: 7.984 kB / 1.332 GB, free: 12.48 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.0001231/0.3545, allocations: 130.3 kB / 1.332 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.679e-05/0.3546, allocations: 7.953 kB / 1.332 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.381e-05/0.3546, allocations: 7.625 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.3546, allocations: 4 kB / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3546, allocations: 7.938 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3546, allocations: 4.312 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002602/0.3549, allocations: 168.6 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3549, allocations: 0 / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001354/0.355, allocations: 23.95 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.355, allocations: 7.938 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.355, allocations: 0 / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.355, allocations: 0 / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.355, allocations: 7.938 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005174/0.3556, allocations: 338.6 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.827e-06/0.3556, allocations: 4 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.3556, allocations: 0 / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/0.3558, allocations: 23.97 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.26e-05/0.3558, allocations: 27.91 kB / 1.333 GB, free: 11.65 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.3558, allocations: 0 / 1.333 GB, free: 11.65 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.79e-05/0.3559, allocations: 99.25 kB / 1.333 GB, free: 11.55 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3559, allocations: 0 / 1.333 GB, free: 11.55 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002677/0.3562, allocations: 15.95 kB / 1.333 GB, free: 11.54 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.0001317/0.3563, allocations: 99.25 kB / 1.333 GB, free: 11.43 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000457/0.3568, allocations: 143.8 kB / 1.333 GB, free: 11.29 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.3568, allocations: 0 / 1.333 GB, free: 11.29 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002211/0.357, allocations: 75.91 kB / 1.333 GB, free: 11.22 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.3573, allocations: 11.98 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004976/0.3578, allocations: 220.4 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003494/0.3582, allocations: 0.6963 MB / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.564e-05/0.3582, allocations: 19.41 kB / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.3582, allocations: 0 / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of Templates: time 0.00287/0.3611, allocations: 1.219 MB / 1.335 GB, free: 9 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/jenkins1/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[2572]=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: 11.14851711600204]