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.001331/0.001331, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001764/0.001764, allocations: 219.4 kB / 23 MB, free: 4.914 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.491/1.491, allocations: 230.6 MB / 256.8 MB, free: 7.824 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.258/3.258, allocations: 0.4892 GB / 0.7951 GB, free: 35.48 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.002123/0.002123, allocations: 63.09 kB / 1.154 GB, free: 25.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.2992, allocations: 176.1 MB / 1.326 GB, free: 1.887 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.002044/0.3012, allocations: 0.661 MB / 1.327 GB, free: 1.23 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001169/0.3024, allocations: 0.8591 MB / 1.328 GB, free: 368 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.734e-05/0.3025, allocations: 4 kB / 1.328 GB, free: 364 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001/0.3026, allocations: 11.94 kB / 1.328 GB, free: 352 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.539e-05/0.3026, allocations: 11.91 kB / 1.328 GB, free: 340 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001229/0.3028, allocations: 15.98 kB / 1.328 GB, free: 324 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000133/0.3029, allocations: 75.81 kB / 1.328 GB, free: 248 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.3031, allocations: 15.98 kB / 1.328 GB, free: 232 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.038e-05/0.3031, allocations: 35.91 kB / 1.328 GB, free: 196 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001204/0.3033, allocations: 43.84 kB / 1.328 GB, free: 152 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.704e-05/0.3033, allocations: 8 kB / 1.328 GB, free: 144 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.943e-05/0.3033, allocations: 4 kB / 1.328 GB, free: 140 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 6.302e-05/0.3034, allocations: 39.83 kB / 1.328 GB, free: 100 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.09e-05/0.3034, allocations: 27.88 kB / 1.328 GB, free: 72 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001634/0.3036, allocations: 95.61 kB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3036, allocations: 0 / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.502e-06/0.3036, allocations: 0 / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.3036, allocations: 0 / 1.328 GB, free: 15.98 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.0006755/0.3043, allocations: 330 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.3043, allocations: 8.031 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.081e-05/0.3043, allocations: 8.891 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002199/0.3046, allocations: 134.4 kB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.057e-05/0.3046, allocations: 12.31 kB / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/0.3046, allocations: 4.375 kB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003931/0.305, allocations: 160.8 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.305, allocations: 4.188 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.593e-05/0.305, allocations: 7.938 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.305, allocations: 0 / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004388/0.3055, allocations: 151.8 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005657/0.306, allocations: 380.4 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002995/0.3063, allocations: 113.1 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002222/0.3066, allocations: 81.69 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.428e-05/0.3066, allocations: 4 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.3066, allocations: 34.5 kB / 1.33 GB, free: 14.44 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.3066, allocations: 4 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0007575/0.3074, allocations: 217.5 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.452e-05/0.3074, allocations: 81.3 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001545/0.3076, allocations: 137.8 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.3076, allocations: 25.7 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.423e-05/0.3077, allocations: 96.41 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.274e-05/0.3077, allocations: 11.89 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.794e-05/0.3077, allocations: 21.72 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001744/0.3079, allocations: 326.8 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002044/0.3081, allocations: 63.86 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002154/0.3083, allocations: 85.61 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003862/0.3087, allocations: 129.5 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3087, allocations: 0 / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004982/0.3092, allocations: 161.5 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.3092, allocations: 6.031 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.3092, allocations: 4 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.3092, allocations: 0 / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.3094, allocations: 19.97 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.928e-06/0.3094, allocations: 7.938 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.3095, allocations: 19.91 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.3095, allocations: 0 / 1.331 GB, free: 12.97 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.0001208/0.3097, allocations: 134.4 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.455e-05/0.3097, allocations: 7.953 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.102e-05/0.3097, allocations: 7.625 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.3097, allocations: 4 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.706e-06/0.3097, allocations: 0 / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.3098, allocations: 3.938 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002267/0.31, allocations: 137.2 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.31, allocations: 0 / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001374/0.3101, allocations: 19.97 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.3101, allocations: 8 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.3101, allocations: 0 / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.3101, allocations: 0 / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3101, allocations: 0 / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000557/0.3107, allocations: 342.5 kB / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.335e-06/0.3107, allocations: 3.938 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.3107, allocations: 4 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001725/0.3109, allocations: 27.97 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.82e-05/0.311, allocations: 23.95 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.311, allocations: 4 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.575e-05/0.311, allocations: 95.2 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.311, allocations: 4 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000272/0.3113, allocations: 12.23 kB / 1.332 GB, free: 12.09 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.0001231/0.3114, allocations: 103.2 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004747/0.3119, allocations: 139.8 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3119, allocations: 3.938 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002886/0.3122, allocations: 83.89 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003269/0.3125, allocations: 4 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004598/0.313, allocations: 220.3 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.313e-05/0.3131, allocations: 87.25 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.971e-05/0.3131, allocations: 11.44 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.3131, allocations: 0 / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of Templates: time 0.002843/0.316, allocations: 1.234 MB / 1.334 GB, free: 10.15 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.238502847030759]