Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001538/0.001538, allocations: 113.3 kB / 17.08 MB, free: 6.012 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.001597/0.001597, allocations: 193.2 kB / 20.03 MB, free: 3.082 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.442/1.442, allocations: 222.9 MB / 245.7 MB, free: 4.23 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.709/2.709, allocations: 437.1 MB / 0.7177 GB, free: 4.527 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002066/0.002066, allocations: 67.89 kB / 1.028 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3097, allocations: 151.6 MB / 1.176 GB, free: 5.898 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.001906/0.3116, allocations: 0.6742 MB / 1.176 GB, free: 5.219 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001074/0.3127, allocations: 0.8394 MB / 1.177 GB, free: 4.367 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.268e-05/0.3128, allocations: 4 kB / 1.177 GB, free: 4.363 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 9.734e-05/0.3129, allocations: 3.938 kB / 1.177 GB, free: 4.359 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.789e-05/0.313, allocations: 11.91 kB / 1.177 GB, free: 4.348 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001117/0.3131, allocations: 27.92 kB / 1.177 GB, free: 4.32 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000133/0.3133, allocations: 71.88 kB / 1.177 GB, free: 4.25 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001535/0.3134, allocations: 35.92 kB / 1.177 GB, free: 4.215 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.514e-05/0.3135, allocations: 39.84 kB / 1.178 GB, free: 4.176 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.821e-05/0.3136, allocations: 39.84 kB / 1.178 GB, free: 4.137 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.622e-05/0.3136, allocations: 4 kB / 1.178 GB, free: 4.133 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.717e-05/0.3137, allocations: 4 kB / 1.178 GB, free: 4.129 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.353e-05/0.3137, allocations: 35.89 kB / 1.178 GB, free: 4.094 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.634e-05/0.3138, allocations: 31.8 kB / 1.178 GB, free: 4.062 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001489/0.3139, allocations: 87.69 kB / 1.178 GB, free: 3.977 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.314, allocations: 0 / 1.178 GB, free: 3.977 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.482e-06/0.314, allocations: 0 / 1.178 GB, free: 3.977 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.568e-06/0.314, allocations: 4 kB / 1.178 GB, free: 3.973 MB / 0.92 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.0007596/0.3147, allocations: 399.2 kB / 1.178 GB, free: 3.531 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.3148, allocations: 12.03 kB / 1.178 GB, free: 3.52 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.484e-05/0.3148, allocations: 8.891 kB / 1.178 GB, free: 3.512 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002075/0.315, allocations: 196.2 kB / 1.178 GB, free: 3.281 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.936e-05/0.3151, allocations: 8.312 kB / 1.178 GB, free: 3.273 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.561e-05/0.3151, allocations: 8.312 kB / 1.178 GB, free: 3.266 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003875/0.3155, allocations: 159.8 kB / 1.178 GB, free: 3.098 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.3155, allocations: 192 / 1.178 GB, free: 3.098 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.873e-05/0.3155, allocations: 7.938 kB / 1.178 GB, free: 3.09 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.3155, allocations: 3.984 kB / 1.178 GB, free: 3.086 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004924/0.316, allocations: 155.8 kB / 1.179 GB, free: 2.934 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006754/0.3167, allocations: 444.7 kB / 1.179 GB, free: 2.445 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000326/0.3171, allocations: 117.1 kB / 1.179 GB, free: 2.312 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002235/0.3173, allocations: 77.69 kB / 1.179 GB, free: 2.23 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.502e-05/0.3173, allocations: 0 / 1.179 GB, free: 2.23 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.3174, allocations: 34.5 kB / 1.179 GB, free: 2.188 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.3174, allocations: 0 / 1.179 GB, free: 2.188 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0008001/0.3182, allocations: 237.3 kB / 1.179 GB, free: 1.949 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.815e-05/0.3182, allocations: 77.11 kB / 1.18 GB, free: 1.855 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.3184, allocations: 125.8 kB / 1.18 GB, free: 1.723 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.3184, allocations: 25.7 kB / 1.18 GB, free: 1.691 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.902e-05/0.3185, allocations: 96.34 kB / 1.18 GB, free: 1.594 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.893e-05/0.3185, allocations: 15.91 kB / 1.18 GB, free: 1.578 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.219e-05/0.3186, allocations: 25.7 kB / 1.18 GB, free: 1.547 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.3187, allocations: 314.8 kB / 1.18 GB, free: 1.23 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002251/0.319, allocations: 67.91 kB / 1.18 GB, free: 1.164 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002077/0.3192, allocations: 73.64 kB / 1.18 GB, free: 1.086 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004042/0.3196, allocations: 133.5 kB / 1.18 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3196, allocations: 0 / 1.18 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004723/0.3201, allocations: 161.5 kB / 1.181 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.3201, allocations: 8 kB / 1.181 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.3201, allocations: 0 / 1.181 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.3201, allocations: 0 / 1.181 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001814/0.3203, allocations: 31.89 kB / 1.181 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.423e-06/0.3203, allocations: 3.938 kB / 1.181 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001189/0.3205, allocations: 20.05 kB / 1.181 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.3205, allocations: 4.375 kB / 1.181 GB, free: 0.7188 MB / 0.92 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.0001168/0.3206, allocations: 125.8 kB / 1.181 GB, free: 0.5859 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.211e-05/0.3207, allocations: 4 kB / 1.181 GB, free: 0.582 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.129e-05/0.3207, allocations: 11.53 kB / 1.181 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.3207, allocations: 3.938 kB / 1.181 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.3207, allocations: 3.938 kB / 1.181 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.3207, allocations: 4 kB / 1.181 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002846/0.321, allocations: 201.6 kB / 1.181 GB, free: 316 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.321, allocations: 0 / 1.181 GB, free: 316 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001437/0.3212, allocations: 23.97 kB / 1.181 GB, free: 292 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3212, allocations: 0 / 1.181 GB, free: 292 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.3212, allocations: 3.984 kB / 1.181 GB, free: 288 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.3212, allocations: 0 / 1.181 GB, free: 288 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.3212, allocations: 3.938 kB / 1.181 GB, free: 284 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005968/0.3218, allocations: 346.6 kB / 1.181 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.074e-05/0.3219, allocations: 81.06 kB / 1.181 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/0.3219, allocations: 0 / 1.181 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001825/0.3221, allocations: 23.97 kB / 1.181 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.722e-05/0.3222, allocations: 23.91 kB / 1.181 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.3222, allocations: 8 kB / 1.181 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.11e-05/0.3223, allocations: 91.27 kB / 1.182 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3223, allocations: 0 / 1.182 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002671/0.3225, allocations: 12 kB / 1.182 GB, free: 15.67 MB / 0.9356 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.0001498/0.3227, allocations: 107.2 kB / 1.182 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004941/0.3232, allocations: 147.7 kB / 1.182 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3232, allocations: 0 / 1.182 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002478/0.3235, allocations: 83.84 kB / 1.182 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003396/0.3238, allocations: 8.422 kB / 1.182 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004783/0.3243, allocations: 224.3 kB / 1.182 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003488/0.3247, allocations: 0.6963 MB / 1.183 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.534e-05/0.3247, allocations: 15.44 kB / 1.183 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of SimCode: time 3.51e-07/0.3247, allocations: 0 / 1.183 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of Templates: time 0.002939/0.3277, allocations: 1.214 MB / 1.184 GB, free: 13.13 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat. Warning: Get data of variable intRep.y[1 from file Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat failed! Error: Could not read variable 1] in file Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat. Warning: Get data of variable 1] from file Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat failed! Error: Could not read variable intRep.y[2 in file Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat. Warning: Get data of variable intRep.y[2 from file Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat failed! Error: Could not read variable 2] in file Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat. Warning: Get data of variable 2] from file Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat failed! Error: Could not read variable intRep.y[3 in file Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat. Warning: Get data of variable intRep.y[3 from file Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat failed! Error: Could not read variable 2] in file Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat. Warning: Get data of variable 2] from file Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.418621164979413]