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.001682/0.001682, allocations: 112.7 kB / 18.94 MB, free: 2.93 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.001899/0.001899, allocations: 186.6 kB / 22.22 MB, free: 5.102 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.497/1.497, allocations: 225.6 MB / 251 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.731/2.731, allocations: 443.4 MB / 0.7321 GB, free: 12.41 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.002055/0.002055, allocations: 63.91 kB / 1.061 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.066/1.068, allocations: 160.8 MB / 1.218 GB, free: 3.77 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.002228/1.071, allocations: 0.6686 MB / 1.219 GB, free: 3.27 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001335/1.072, allocations: 0.8421 MB / 1.22 GB, free: 2.582 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.135e-05/1.072, allocations: 1.125 kB / 1.22 GB, free: 2.582 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001257/1.072, allocations: 9.281 kB / 1.22 GB, free: 2.574 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001266/1.072, allocations: 10.27 kB / 1.22 GB, free: 2.566 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001261/1.072, allocations: 11.77 kB / 1.22 GB, free: 2.559 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001673/1.073, allocations: 76.41 kB / 1.22 GB, free: 2.516 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001634/1.073, allocations: 24.36 kB / 1.22 GB, free: 2.504 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.478e-05/1.073, allocations: 40.97 kB / 1.22 GB, free: 2.48 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/1.073, allocations: 38.8 kB / 1.22 GB, free: 2.457 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.126e-05/1.073, allocations: 4.906 kB / 1.22 GB, free: 2.457 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 2.001e-05/1.073, allocations: 5.469 kB / 1.22 GB, free: 2.457 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.265e-05/1.073, allocations: 30.16 kB / 1.22 GB, free: 2.438 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.051e-05/1.073, allocations: 36.25 kB / 1.22 GB, free: 2.41 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001694/1.073, allocations: 89.69 kB / 1.22 GB, free: 2.352 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/1.073, allocations: 0 / 1.22 GB, free: 2.352 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.663e-06/1.073, allocations: 1.375 kB / 1.22 GB, free: 2.352 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.364e-06/1.073, allocations: 0 / 1.22 GB, free: 2.352 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.000762/1.074, allocations: 404.9 kB / 1.221 GB, free: 1.945 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/1.074, allocations: 12.81 kB / 1.221 GB, free: 1.941 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.768e-05/1.074, allocations: 8.734 kB / 1.221 GB, free: 1.938 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000253/1.074, allocations: 194.1 kB / 1.221 GB, free: 1.723 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.108e-05/1.074, allocations: 4.312 kB / 1.221 GB, free: 1.723 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.082e-05/1.074, allocations: 11.39 kB / 1.221 GB, free: 1.715 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004084/1.075, allocations: 167.1 kB / 1.221 GB, free: 1.598 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/1.075, allocations: 192 / 1.221 GB, free: 1.598 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.964e-05/1.075, allocations: 5.094 kB / 1.221 GB, free: 1.594 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/1.075, allocations: 1.281 kB / 1.221 GB, free: 1.594 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004523/1.075, allocations: 153.2 kB / 1.221 GB, free: 1.523 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007434/1.076, allocations: 444.4 kB / 1.222 GB, free: 1.094 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003183/1.076, allocations: 117.6 kB / 1.222 GB, free: 1.004 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000211/1.077, allocations: 76.42 kB / 1.222 GB, free: 0.957 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.758e-05/1.077, allocations: 3.984 kB / 1.222 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.873e-05/1.077, allocations: 43.86 kB / 1.222 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/1.077, allocations: 0.8125 kB / 1.222 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0007543/1.077, allocations: 223.2 kB / 1.222 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.618e-05/1.077, allocations: 82.48 kB / 1.222 GB, free: 0.6836 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/1.078, allocations: 130.1 kB / 1.222 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/1.078, allocations: 26.77 kB / 1.222 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.129e-05/1.078, allocations: 103.3 kB / 1.222 GB, free: 440 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.023e-05/1.078, allocations: 18.2 kB / 1.222 GB, free: 424 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.328e-05/1.078, allocations: 25.08 kB / 1.222 GB, free: 400 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001772/1.078, allocations: 313 kB / 1.223 GB, free: 80 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002079/1.078, allocations: 69.41 kB / 1.223 GB, free: 44 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002175/1.078, allocations: 76.58 kB / 1.223 GB, free: 16 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003769/1.079, allocations: 125.1 kB / 1.223 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/1.079, allocations: 0 / 1.223 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004832/1.079, allocations: 170.6 kB / 1.223 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/1.079, allocations: 7.438 kB / 1.223 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/1.079, allocations: 1.094 kB / 1.223 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/1.079, allocations: 1.125 kB / 1.223 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001834/1.079, allocations: 26 kB / 1.223 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.316e-05/1.079, allocations: 5 kB / 1.223 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/1.08, allocations: 17.34 kB / 1.223 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.926e-06/1.08, allocations: 1 kB / 1.223 GB, free: 15.8 MB / 0.9356 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.0001304/1.08, allocations: 128.6 kB / 1.223 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.256e-05/1.08, allocations: 3 kB / 1.223 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.038e-05/1.08, allocations: 17.73 kB / 1.223 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/1.08, allocations: 1.125 kB / 1.223 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/1.08, allocations: 4.812 kB / 1.223 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/1.08, allocations: 0 / 1.223 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003011/1.08, allocations: 196 kB / 1.224 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/1.08, allocations: 1.062 kB / 1.224 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001375/1.08, allocations: 22.56 kB / 1.224 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/1.08, allocations: 1.062 kB / 1.224 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/1.08, allocations: 1.188 kB / 1.224 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/1.08, allocations: 1.062 kB / 1.224 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/1.08, allocations: 11.88 kB / 1.224 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005607/1.081, allocations: 335.7 kB / 1.224 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.787e-05/1.081, allocations: 87.2 kB / 1.224 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.175e-05/1.081, allocations: 1.094 kB / 1.224 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001609/1.081, allocations: 16.55 kB / 1.224 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.658e-05/1.081, allocations: 33.45 kB / 1.224 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.268e-06/1.081, allocations: 4.969 kB / 1.224 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.359e-05/1.081, allocations: 97.83 kB / 1.224 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/1.081, allocations: 0.9375 kB / 1.224 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002742/1.082, allocations: 11.22 kB / 1.224 GB, free: 14.93 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.000154/1.082, allocations: 108.1 kB / 1.224 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004833/1.082, allocations: 137.9 kB / 1.224 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/1.082, allocations: 0 / 1.224 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000244/1.082, allocations: 88.02 kB / 1.224 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003445/1.083, allocations: 14.86 kB / 1.225 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005819/1.083, allocations: 206 kB / 1.225 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004204/1.084, allocations: 0.7044 MB / 1.225 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.292e-05/1.084, allocations: 21.42 kB / 1.225 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.093e-05/1.084, allocations: 11.78 kB / 1.225 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of SimCode: time 3.21e-07/1.084, allocations: 0 / 1.225 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of Templates: time 0.004659/1.089, allocations: 1.295 MB / 1.227 GB, free: 13.16 MB / 0.9356 GB " [Timeout remaining time 299] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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[2514]=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: 9.345921942032874]