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.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.0008871/0.0008871, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008382/0.0008382, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.9089/0.9089, allocations: 177.1 MB / 203.5 MB, free: 5.41 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.805/1.805, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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 2.204e-06/2.204e-06, allocations: 0 / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.307e-05/2.528e-05, allocations: 2.281 kB / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.001256/0.001281, allocations: 0.6767 MB / 1.002 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0007975/0.002079, allocations: 0.851 MB / 1.002 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.859e-05/0.002127, allocations: 0 / 1.002 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 9.931e-05/0.002227, allocations: 7.922 kB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 9.371e-05/0.00232, allocations: 11.88 kB / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001121/0.002432, allocations: 19.91 kB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.002544, allocations: 75.81 kB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.002668, allocations: 15.98 kB / 1.003 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.355e-05/0.002742, allocations: 51.89 kB / 1.003 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 8.718e-05/0.002829, allocations: 35.91 kB / 1.003 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.849e-05/0.002857, allocations: 12 kB / 1.003 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 1.135e-05/0.002869, allocations: 4 kB / 1.003 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.01e-05/0.002919, allocations: 27.95 kB / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.324e-05/0.002952, allocations: 23.92 kB / 1.003 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.00012/0.003072, allocations: 99.72 kB / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.943e-06/0.003074, allocations: 0 / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.163e-06/0.003075, allocations: 0 / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.888e-06/0.003079, allocations: 0 / 1.003 GB, free: 11.09 MB / 0.9636 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.0004483/0.003527, allocations: 329.9 kB / 1.003 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.003564, allocations: 12.75 kB / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.129e-05/0.003595, allocations: 8.891 kB / 1.003 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.00373, allocations: 133.7 kB / 1.003 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.535e-05/0.003756, allocations: 8.375 kB / 1.003 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/0.003768, allocations: 4.375 kB / 1.003 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002425/0.004011, allocations: 163.8 kB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.004018, allocations: 4.188 kB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.004028, allocations: 384 / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.004033, allocations: 384 / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000237/0.00427, allocations: 159.8 kB / 1.004 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003703/0.00464, allocations: 373.2 kB / 1.004 GB, free: 9.82 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001641/0.004804, allocations: 121 kB / 1.004 GB, free: 9.684 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.004916, allocations: 81.69 kB / 1.004 GB, free: 9.598 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.004933, allocations: 0 / 1.004 GB, free: 9.598 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.004954, allocations: 38.56 kB / 1.004 GB, free: 9.551 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 7.72e-07/0.004955, allocations: 0 / 1.004 GB, free: 9.551 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.000418/0.005373, allocations: 229.6 kB / 1.004 GB, free: 9.32 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.005409, allocations: 81.05 kB / 1.004 GB, free: 9.223 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.506e-05/0.005484, allocations: 129.8 kB / 1.005 GB, free: 9.086 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.005495, allocations: 25.7 kB / 1.005 GB, free: 9.055 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.416e-05/0.005539, allocations: 96.03 kB / 1.005 GB, free: 8.957 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.766e-05/0.005557, allocations: 11.89 kB / 1.005 GB, free: 8.945 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.548e-05/0.005592, allocations: 25.7 kB / 1.005 GB, free: 8.914 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.609e-05/0.005669, allocations: 318.8 kB / 1.005 GB, free: 8.594 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001085/0.005777, allocations: 71.88 kB / 1.005 GB, free: 8.523 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001002/0.005877, allocations: 77.64 kB / 1.005 GB, free: 8.441 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001965/0.006074, allocations: 125.6 kB / 1.005 GB, free: 8.312 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.006076, allocations: 0 / 1.005 GB, free: 8.312 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000227/0.006303, allocations: 169.4 kB / 1.005 GB, free: 8.141 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.006317, allocations: 8 kB / 1.005 GB, free: 8.133 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.006322, allocations: 0 / 1.005 GB, free: 8.133 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.006334, allocations: 0 / 1.005 GB, free: 8.133 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.006437, allocations: 23.95 kB / 1.005 GB, free: 8.109 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.006441, allocations: 4 kB / 1.005 GB, free: 8.105 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.695e-05/0.006488, allocations: 16.05 kB / 1.005 GB, free: 8.09 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.912e-06/0.006494, allocations: 0 / 1.005 GB, free: 8.09 MB / 0.9636 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 7.455e-05/0.006569, allocations: 133.8 kB / 1.006 GB, free: 7.949 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.425e-05/0.006593, allocations: 7.953 kB / 1.006 GB, free: 7.941 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.174e-05/0.006615, allocations: 7.625 kB / 1.006 GB, free: 7.93 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.006618, allocations: 4 kB / 1.006 GB, free: 7.926 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.006622, allocations: 0 / 1.006 GB, free: 7.926 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.006624, allocations: 0 / 1.006 GB, free: 7.926 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001414/0.006766, allocations: 145.2 kB / 1.006 GB, free: 7.754 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.006767, allocations: 7.938 kB / 1.006 GB, free: 7.746 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.007e-05/0.006827, allocations: 23.97 kB / 1.006 GB, free: 7.723 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.006829, allocations: 0 / 1.006 GB, free: 7.723 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.006836, allocations: 0 / 1.006 GB, free: 7.723 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.006838, allocations: 0 / 1.006 GB, free: 7.723 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.006839, allocations: 0 / 1.006 GB, free: 7.723 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002866/0.007125, allocations: 334.9 kB / 1.006 GB, free: 7.379 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.536e-06/0.007134, allocations: 11.95 kB / 1.006 GB, free: 7.367 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.12e-05/0.007145, allocations: 0 / 1.006 GB, free: 7.367 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.029e-05/0.007225, allocations: 19.97 kB / 1.006 GB, free: 7.348 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.122e-05/0.007287, allocations: 27.84 kB / 1.006 GB, free: 7.32 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.002e-06/0.007293, allocations: 7.984 kB / 1.006 GB, free: 7.312 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.672e-05/0.007329, allocations: 95.27 kB / 1.006 GB, free: 7.219 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.007329, allocations: 0 / 1.006 GB, free: 7.219 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001755/0.007505, allocations: 19.89 kB / 1.006 GB, free: 7.199 MB / 0.9636 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 8.782e-05/0.007593, allocations: 99.25 kB / 1.006 GB, free: 7.094 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.000257/0.00785, allocations: 135.8 kB / 1.007 GB, free: 6.961 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.007851, allocations: 3.938 kB / 1.007 GB, free: 6.957 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001138/0.007965, allocations: 79.91 kB / 1.007 GB, free: 6.879 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002448/0.00821, allocations: 16.17 kB / 1.007 GB, free: 6.863 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003417/0.008551, allocations: 219.2 kB / 1.007 GB, free: 6.613 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.47e-05/0.008616, allocations: 79.33 kB / 1.007 GB, free: 6.516 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.18e-05/0.008658, allocations: 16.48 kB / 1.007 GB, free: 6.5 MB / 0.9636 GB Notification: Performance of SimCode: time 4.91e-07/0.008658, allocations: 0 / 1.007 GB, free: 6.5 MB / 0.9636 GB Notification: Performance of Templates: time 0.001913/0.01057, allocations: 1.243 MB / 1.008 GB, free: 5.262 MB / 0.9636 GB " [Timeout remaining time 300] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1) [Timeout 800] 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[2572]=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: 6.735480720177293]