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.001773/0.001773, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.002351/0.002351, allocations: 162.4 kB / 23.02 MB, free: 4.949 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.447/1.447, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.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 2.924/2.924, allocations: 377.9 MB / 0.6228 GB, free: 12.59 MB / 0.5919 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.002265/0.002265, allocations: 67.89 kB / 0.9819 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.027/1.029, allocations: 176.1 MB / 1.154 GB, free: 33.33 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.00227/1.032, allocations: 0.6561 MB / 1.155 GB, free: 32.93 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001246/1.033, allocations: 0.8553 MB / 1.155 GB, free: 32.28 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.257e-05/1.033, allocations: 3 kB / 1.155 GB, free: 32.28 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001267/1.033, allocations: 7.875 kB / 1.155 GB, free: 32.27 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001344/1.033, allocations: 18.22 kB / 1.155 GB, free: 32.26 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001666/1.033, allocations: 18.59 kB / 1.155 GB, free: 32.25 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001673/1.033, allocations: 73.95 kB / 1.156 GB, free: 32.22 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001716/1.034, allocations: 15.62 kB / 1.156 GB, free: 32.21 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 9.067e-05/1.034, allocations: 39.53 kB / 1.156 GB, free: 32.2 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001489/1.034, allocations: 43.64 kB / 1.156 GB, free: 32.18 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.054e-05/1.034, allocations: 5.562 kB / 1.156 GB, free: 32.18 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 2.334e-05/1.034, allocations: 5.312 kB / 1.156 GB, free: 32.18 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 8.479e-05/1.034, allocations: 33.58 kB / 1.156 GB, free: 32.16 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 6.688e-05/1.034, allocations: 27.34 kB / 1.156 GB, free: 32.15 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001869/1.034, allocations: 93.14 kB / 1.156 GB, free: 32.12 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/1.034, allocations: 4 kB / 1.156 GB, free: 32.11 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.204e-06/1.034, allocations: 0 / 1.156 GB, free: 32.11 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.643e-05/1.034, allocations: 2.906 kB / 1.156 GB, free: 32.11 MB / 1.076 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.0008358/1.035, allocations: 318.9 kB / 1.156 GB, free: 31.83 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/1.035, allocations: 12.94 kB / 1.156 GB, free: 31.82 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.586e-05/1.035, allocations: 10.89 kB / 1.156 GB, free: 31.82 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002202/1.035, allocations: 135.3 kB / 1.156 GB, free: 31.68 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.349e-05/1.035, allocations: 7.281 kB / 1.156 GB, free: 31.68 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.962e-05/1.035, allocations: 7.312 kB / 1.156 GB, free: 31.68 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005392/1.036, allocations: 161.1 kB / 1.156 GB, free: 31.6 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/1.036, allocations: 4.125 kB / 1.156 GB, free: 31.6 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.306e-05/1.036, allocations: 7.922 kB / 1.156 GB, free: 31.59 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/1.036, allocations: 2.375 kB / 1.156 GB, free: 31.59 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007656/1.037, allocations: 155.4 kB / 1.157 GB, free: 31.57 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007353/1.038, allocations: 379 kB / 1.157 GB, free: 31.24 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004967/1.038, allocations: 115.3 kB / 1.157 GB, free: 31.18 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003646/1.038, allocations: 71.91 kB / 1.157 GB, free: 31.16 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/1.038, allocations: 2.75 kB / 1.157 GB, free: 31.16 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/1.038, allocations: 41.94 kB / 1.157 GB, free: 31.11 MB / 1.076 GB Notification: Performance of pre-optimization done (n=4): time 1.813e-06/1.038, allocations: 4 kB / 1.157 GB, free: 31.11 MB / 1.076 GB Notification: Performance of matching and sorting (n=4): time 0.001263/1.04, allocations: 223.3 kB / 1.157 GB, free: 31.05 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/1.04, allocations: 77.11 kB / 1.157 GB, free: 30.95 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/1.04, allocations: 133.7 kB / 1.158 GB, free: 30.84 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/1.04, allocations: 29.95 kB / 1.158 GB, free: 30.8 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.047e-05/1.04, allocations: 101.1 kB / 1.158 GB, free: 30.71 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.188e-05/1.04, allocations: 11.84 kB / 1.158 GB, free: 30.7 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.146e-05/1.04, allocations: 25.58 kB / 1.158 GB, free: 30.68 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.708e-05/1.04, allocations: 321.7 kB / 1.158 GB, free: 30.36 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003627/1.041, allocations: 65.03 kB / 1.158 GB, free: 30.35 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003742/1.041, allocations: 78.34 kB / 1.158 GB, free: 30.32 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007078/1.042, allocations: 129.2 kB / 1.158 GB, free: 30.29 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/1.042, allocations: 0 / 1.158 GB, free: 30.29 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0007888/1.042, allocations: 163.3 kB / 1.158 GB, free: 30.23 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.833e-05/1.042, allocations: 5.688 kB / 1.158 GB, free: 30.23 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/1.042, allocations: 6.141 kB / 1.158 GB, free: 30.23 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.021e-05/1.042, allocations: 0 / 1.158 GB, free: 30.23 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003051/1.043, allocations: 20.47 kB / 1.158 GB, free: 30.23 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/1.043, allocations: 0 / 1.158 GB, free: 30.23 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001939/1.043, allocations: 19.66 kB / 1.158 GB, free: 30.23 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.046e-05/1.043, allocations: 6.266 kB / 1.158 GB, free: 30.23 MB / 1.076 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.0001515/1.043, allocations: 129.7 kB / 1.159 GB, free: 30.11 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.131e-05/1.043, allocations: 6.984 kB / 1.159 GB, free: 30.1 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.85e-05/1.043, allocations: 11.56 kB / 1.159 GB, free: 30.09 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/1.043, allocations: 2.875 kB / 1.159 GB, free: 30.09 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/1.043, allocations: 3.422 kB / 1.159 GB, free: 30.09 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.914e-06/1.043, allocations: 3.938 kB / 1.159 GB, free: 30.08 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003331/1.044, allocations: 131.8 kB / 1.159 GB, free: 29.95 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/1.044, allocations: 0 / 1.159 GB, free: 29.95 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002441/1.044, allocations: 27.14 kB / 1.159 GB, free: 29.95 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/1.044, allocations: 0 / 1.159 GB, free: 29.95 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/1.044, allocations: 6.844 kB / 1.159 GB, free: 29.94 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/1.044, allocations: 3 kB / 1.159 GB, free: 29.94 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.044, allocations: 0 / 1.159 GB, free: 29.94 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008455/1.045, allocations: 338.1 kB / 1.159 GB, free: 29.71 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.818e-05/1.045, allocations: 2.438 kB / 1.159 GB, free: 29.71 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.772e-05/1.045, allocations: 0 / 1.159 GB, free: 29.71 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000314/1.045, allocations: 19.47 kB / 1.159 GB, free: 29.71 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00016/1.045, allocations: 33.64 kB / 1.159 GB, free: 29.7 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/1.045, allocations: 0 / 1.159 GB, free: 29.7 MB / 1.076 GB Notification: Performance of sorting global known variables: time 8.49e-05/1.045, allocations: 101.8 kB / 1.159 GB, free: 29.61 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.1e-07/1.045, allocations: 0 / 1.159 GB, free: 29.61 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005295/1.046, allocations: 15.14 kB / 1.159 GB, free: 29.61 MB / 1.076 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.0001573/1.046, allocations: 104 kB / 1.159 GB, free: 29.52 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0008339/1.047, allocations: 144.8 kB / 1.16 GB, free: 29.49 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/1.047, allocations: 0 / 1.16 GB, free: 29.49 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003973/1.047, allocations: 86.78 kB / 1.16 GB, free: 29.48 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005891/1.048, allocations: 11.02 kB / 1.16 GB, free: 29.47 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006751/1.049, allocations: 190.7 kB / 1.16 GB, free: 29.33 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001158/1.049, allocations: 101.9 kB / 1.16 GB, free: 29.25 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001072/1.049, allocations: 17.3 kB / 1.16 GB, free: 29.25 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.102e-05/1.049, allocations: 18.56 kB / 1.16 GB, free: 29.23 MB / 1.076 GB Notification: Performance of SimCode: time 8.32e-07/1.049, allocations: 0 / 1.16 GB, free: 29.23 MB / 1.076 GB Notification: Performance of Templates: time 0.006198/1.055, allocations: 1.317 MB / 1.161 GB, free: 29.09 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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[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.193232995923609]