Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.544/1.544, allocations: 225.6 MB / 249.4 MB, free: 3.297 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.008/3.008, allocations: 496.2 MB / 0.7819 GB, free: 12.23 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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=2500,variableFilter="time|ram.1..y|reaToInt.1..y|intRep.y.1|1.|intRep.y.2|2.|intRep.y.3|2.",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 71.88 kB / 1.136 GB, free: 12.42 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.19/1.192, allocations: 173.6 MB / 1.305 GB, free: 33.44 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.001616/1.194, allocations: 0.6614 MB / 1.306 GB, free: 33.03 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0007178/1.195, allocations: 0.8457 MB / 1.307 GB, free: 32.39 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.06e-05/1.195, allocations: 0 / 1.307 GB, free: 32.39 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001023/1.195, allocations: 7.938 kB / 1.307 GB, free: 32.38 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.875e-05/1.195, allocations: 14 kB / 1.307 GB, free: 32.38 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001071/1.195, allocations: 17.16 kB / 1.307 GB, free: 32.37 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001145/1.195, allocations: 76.73 kB / 1.307 GB, free: 32.34 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/1.195, allocations: 23.59 kB / 1.307 GB, free: 32.33 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.411e-05/1.195, allocations: 36.22 kB / 1.307 GB, free: 32.31 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.171e-05/1.196, allocations: 40.44 kB / 1.307 GB, free: 32.3 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.155e-05/1.196, allocations: 5.719 kB / 1.307 GB, free: 32.3 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.478e-05/1.196, allocations: 5.562 kB / 1.307 GB, free: 32.3 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.397e-05/1.196, allocations: 27.36 kB / 1.307 GB, free: 32.29 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.25e-05/1.196, allocations: 40.06 kB / 1.307 GB, free: 32.26 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001313/1.196, allocations: 95.56 kB / 1.307 GB, free: 32.23 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/1.196, allocations: 0 / 1.307 GB, free: 32.23 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.543e-06/1.196, allocations: 0 / 1.307 GB, free: 32.23 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.35e-06/1.196, allocations: 0 / 1.307 GB, free: 32.23 MB / 1.061 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.0005569/1.196, allocations: 400.2 kB / 1.308 GB, free: 31.85 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/1.196, allocations: 8.406 kB / 1.308 GB, free: 31.85 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.307e-05/1.196, allocations: 14.55 kB / 1.308 GB, free: 31.84 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000162/1.197, allocations: 200.3 kB / 1.308 GB, free: 31.62 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.636e-05/1.197, allocations: 6.938 kB / 1.308 GB, free: 31.62 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.66e-05/1.197, allocations: 2.938 kB / 1.308 GB, free: 31.62 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003465/1.197, allocations: 168.8 kB / 1.308 GB, free: 31.55 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/1.197, allocations: 192 / 1.308 GB, free: 31.55 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.798e-05/1.197, allocations: 3.938 kB / 1.308 GB, free: 31.54 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/1.197, allocations: 2.781 kB / 1.308 GB, free: 31.54 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000388/1.197, allocations: 154.9 kB / 1.308 GB, free: 31.52 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005325/1.198, allocations: 435.2 kB / 1.309 GB, free: 31.13 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000267/1.198, allocations: 115.6 kB / 1.309 GB, free: 31.07 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001902/1.198, allocations: 79.92 kB / 1.309 GB, free: 31.04 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.203e-05/1.198, allocations: 4.141 kB / 1.309 GB, free: 31.04 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.598e-05/1.198, allocations: 37.34 kB / 1.309 GB, free: 30.99 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.423e-06/1.198, allocations: 0 / 1.309 GB, free: 30.99 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0007427/1.199, allocations: 229 kB / 1.309 GB, free: 30.93 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.007e-05/1.199, allocations: 81.36 kB / 1.309 GB, free: 30.83 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/1.199, allocations: 133.3 kB / 1.309 GB, free: 30.71 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/1.199, allocations: 29.7 kB / 1.309 GB, free: 30.68 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.805e-05/1.199, allocations: 106 kB / 1.309 GB, free: 30.58 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.722e-05/1.2, allocations: 10.86 kB / 1.309 GB, free: 30.57 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.447e-05/1.2, allocations: 22.5 kB / 1.309 GB, free: 30.55 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 8.562e-05/1.2, allocations: 321.1 kB / 1.31 GB, free: 30.23 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001988/1.2, allocations: 68.55 kB / 1.31 GB, free: 30.22 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001772/1.2, allocations: 76.47 kB / 1.31 GB, free: 30.2 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003304/1.2, allocations: 130 kB / 1.31 GB, free: 30.16 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/1.2, allocations: 0 / 1.31 GB, free: 30.16 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003773/1.201, allocations: 165.9 kB / 1.31 GB, free: 30.11 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/1.201, allocations: 5.719 kB / 1.31 GB, free: 30.11 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/1.201, allocations: 0 / 1.31 GB, free: 30.11 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/1.201, allocations: 0 / 1.31 GB, free: 30.11 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001776/1.201, allocations: 28.44 kB / 1.31 GB, free: 30.1 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/1.201, allocations: 7.062 kB / 1.31 GB, free: 30.1 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.586e-05/1.201, allocations: 13.19 kB / 1.31 GB, free: 30.1 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/1.201, allocations: 3.125 kB / 1.31 GB, free: 30.1 MB / 1.061 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 9.08e-05/1.201, allocations: 127.8 kB / 1.31 GB, free: 29.98 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.105e-05/1.201, allocations: 6.594 kB / 1.31 GB, free: 29.97 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.346e-05/1.201, allocations: 9.594 kB / 1.31 GB, free: 29.96 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/1.201, allocations: 4 kB / 1.31 GB, free: 29.96 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/1.201, allocations: 6.844 kB / 1.31 GB, free: 29.96 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/1.201, allocations: 0 / 1.31 GB, free: 29.96 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002227/1.201, allocations: 198.8 kB / 1.311 GB, free: 29.75 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/1.201, allocations: 2.75 kB / 1.311 GB, free: 29.75 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000122/1.202, allocations: 20.56 kB / 1.311 GB, free: 29.75 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/1.202, allocations: 0 / 1.311 GB, free: 29.75 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/1.202, allocations: 3.188 kB / 1.311 GB, free: 29.75 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/1.202, allocations: 2.625 kB / 1.311 GB, free: 29.75 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.202, allocations: 3.938 kB / 1.311 GB, free: 29.75 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000417/1.202, allocations: 335.1 kB / 1.311 GB, free: 29.52 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.633e-05/1.202, allocations: 83.94 kB / 1.311 GB, free: 29.42 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/1.202, allocations: 0 / 1.311 GB, free: 29.42 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001654/1.202, allocations: 18.95 kB / 1.311 GB, free: 29.41 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.122e-05/1.202, allocations: 33.45 kB / 1.311 GB, free: 29.4 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/1.202, allocations: 7.281 kB / 1.311 GB, free: 29.4 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.135e-05/1.202, allocations: 95.5 kB / 1.311 GB, free: 29.32 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.202, allocations: 0 / 1.311 GB, free: 29.32 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002614/1.203, allocations: 11.19 kB / 1.311 GB, free: 29.32 MB / 1.061 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.000153/1.203, allocations: 105.3 kB / 1.311 GB, free: 29.23 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004125/1.203, allocations: 145.5 kB / 1.311 GB, free: 29.2 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/1.203, allocations: 0 / 1.311 GB, free: 29.2 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001962/1.203, allocations: 81.64 kB / 1.311 GB, free: 29.2 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003338/1.204, allocations: 18.91 kB / 1.311 GB, free: 29.19 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004194/1.204, allocations: 215.8 kB / 1.312 GB, free: 29.03 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001343/1.204, allocations: 0.6959 MB / 1.312 GB, free: 28.33 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.047e-05/1.204, allocations: 22.36 kB / 1.312 GB, free: 28.33 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.394e-05/1.204, allocations: 20.78 kB / 1.312 GB, free: 28.32 MB / 1.061 GB Notification: Performance of SimCode: time 3.91e-07/1.204, allocations: 0 / 1.312 GB, free: 28.32 MB / 1.061 GB Notification: Performance of Templates: time 0.00386/1.208, allocations: 1.276 MB / 1.314 GB, free: 28.2 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat. Warning: Get data of variable intRep.y[1 from file Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat failed! Error: Could not read variable 1] in file Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat. Warning: Get data of variable 1] from file Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat failed! Error: Could not read variable intRep.y[2 in file Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat. Warning: Get data of variable intRep.y[2 from file Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat failed! Error: Could not read variable 2] in file Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat. Warning: Get data of variable 2] from file Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat failed! Error: Could not read variable intRep.y[3 in file Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat. Warning: Get data of variable intRep.y[3 from file Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat failed! Error: Could not read variable 2] in file Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat. Warning: Get data of variable 2] from file Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.934118379838765]