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.001167/0.001167, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001497/0.002664, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001023/0.001023, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001286/0.002309, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9657/0.9657, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09755/1.063, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.854/1.854, allocations: 378.2 MB / 0.6076 GB, free: 7.855 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5219/2.376, allocations: 123.3 MB / 0.728 GB, free: 5.859 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.[0-9,]+..y|reaToInt.[0-9,]+..y|intRep.y.[0-9,]+.",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.[0-9,]+..y|reaToInt.[0-9,]+..y|intRep.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 3.938 kB / 0.7293 GB, free: 4.57 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.533e-05/2.74e-05, allocations: 8.312 kB / 0.7293 GB, free: 4.562 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.001869/0.001897, allocations: 0.7156 MB / 0.73 GB, free: 3.867 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009786/0.002875, allocations: 0.8879 MB / 0.7309 GB, free: 2.973 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.862e-05/0.002924, allocations: 0.6875 kB / 0.7309 GB, free: 2.973 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 6.379e-05/0.002988, allocations: 8.703 kB / 0.7309 GB, free: 2.965 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.835e-05/0.003056, allocations: 11.45 kB / 0.7309 GB, free: 2.957 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 8.096e-05/0.003137, allocations: 15.92 kB / 0.7309 GB, free: 2.941 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001369/0.003274, allocations: 76.91 kB / 0.731 GB, free: 2.875 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.003396, allocations: 15.98 kB / 0.731 GB, free: 2.859 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001203/0.003516, allocations: 62.59 kB / 0.7311 GB, free: 2.805 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.003629, allocations: 38.69 kB / 0.7311 GB, free: 2.77 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.178e-05/0.003661, allocations: 8.875 kB / 0.7311 GB, free: 2.762 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.597e-05/0.003677, allocations: 4 kB / 0.7311 GB, free: 2.758 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 5.447e-05/0.003731, allocations: 22.72 kB / 0.7311 GB, free: 2.738 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.43e-05/0.003776, allocations: 18.34 kB / 0.7312 GB, free: 2.723 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001276/0.003903, allocations: 68.25 kB / 0.7312 GB, free: 2.656 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.657e-05/0.00392, allocations: 0 / 0.7312 GB, free: 2.656 MB / 0.698 GB Notification: Performance of FrontEnd: time 8.72e-07/0.003921, allocations: 1.406 kB / 0.7312 GB, free: 2.656 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.841e-05/0.003939, allocations: 0 / 0.7312 GB, free: 2.656 MB / 0.698 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.0004644/0.004403, allocations: 284.4 kB / 0.7315 GB, free: 2.352 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.004438, allocations: 8.594 kB / 0.7315 GB, free: 2.344 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.505e-05/0.004483, allocations: 18.64 kB / 0.7315 GB, free: 2.328 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.00463, allocations: 121.7 kB / 0.7316 GB, free: 2.184 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.971e-05/0.00466, allocations: 8.375 kB / 0.7317 GB, free: 2.176 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.004673, allocations: 4.375 kB / 0.7317 GB, free: 2.172 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002126/0.004886, allocations: 105.4 kB / 0.7318 GB, free: 2.055 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.627e-06/0.004894, allocations: 192 / 0.7318 GB, free: 2.055 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.004906, allocations: 5.125 kB / 0.7318 GB, free: 2.051 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.004912, allocations: 384 / 0.7318 GB, free: 2.051 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.879e-05/0.004971, allocations: 29.59 kB / 0.7318 GB, free: 2.023 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003612/0.005332, allocations: 295.1 kB / 0.7321 GB, free: 1.715 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.111e-05/0.005424, allocations: 49.64 kB / 0.7321 GB, free: 1.648 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.012e-05/0.005454, allocations: 14.88 kB / 0.7321 GB, free: 1.629 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.429e-05/0.005468, allocations: 0 / 0.7321 GB, free: 1.629 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.005497, allocations: 46.5 kB / 0.7322 GB, free: 1.574 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.005498, allocations: 0.5938 kB / 0.7322 GB, free: 1.574 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0001721/0.00567, allocations: 50.75 kB / 0.7322 GB, free: 1.52 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.005714, allocations: 81.83 kB / 0.7323 GB, free: 1.422 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.64e-05/0.0058, allocations: 130.6 kB / 0.7324 GB, free: 1.281 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.005815, allocations: 30.23 kB / 0.7325 GB, free: 1.246 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.146e-05/0.005857, allocations: 89.03 kB / 0.7325 GB, free: 1.156 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.945e-05/0.005876, allocations: 7.938 kB / 0.7325 GB, free: 1.148 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.761e-05/0.005924, allocations: 25.7 kB / 0.7326 GB, free: 1.117 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.151e-05/0.006015, allocations: 319.4 kB / 0.7329 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.409e-05/0.006039, allocations: 4.844 kB / 0.7329 GB, free: 0.793 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.737e-05/0.006067, allocations: 13.72 kB / 0.7329 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.286e-05/0.00613, allocations: 37.72 kB / 0.7329 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.006132, allocations: 0 / 0.7329 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.144e-05/0.006223, allocations: 51.77 kB / 0.733 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.006238, allocations: 11.94 kB / 0.733 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.006243, allocations: 0 / 0.733 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.006253, allocations: 0 / 0.733 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.006378, allocations: 20.67 kB / 0.733 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.00638, allocations: 0 / 0.733 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.399e-05/0.006424, allocations: 17.48 kB / 0.733 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.006433, allocations: 3.984 kB / 0.733 GB, free: 0.625 MB / 0.698 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 8.974e-05/0.006522, allocations: 117.5 kB / 0.7331 GB, free: 0.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.217e-05/0.006565, allocations: 7.938 kB / 0.7332 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.561e-05/0.00659, allocations: 7.625 kB / 0.7332 GB, free: 492 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.006594, allocations: 4.875 kB / 0.7332 GB, free: 488 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.006596, allocations: 3.984 kB / 0.7332 GB, free: 484 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.006599, allocations: 1.25 kB / 0.7332 GB, free: 484 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001895/0.006789, allocations: 77.88 kB / 0.7332 GB, free: 388 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.006791, allocations: 0 / 0.7332 GB, free: 388 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.421e-05/0.006875, allocations: 17.14 kB / 0.7333 GB, free: 372 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.897e-06/0.006884, allocations: 7.938 kB / 0.7333 GB, free: 364 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.006887, allocations: 4 kB / 0.7333 GB, free: 360 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.006894, allocations: 1.25 kB / 0.7333 GB, free: 360 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.006896, allocations: 0 / 0.7333 GB, free: 360 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.006899, allocations: 3.938 kB / 0.7333 GB, free: 356 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001556/0.007054, allocations: 219.8 kB / 0.7335 GB, free: 120 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.007071, allocations: 7.938 kB / 0.7335 GB, free: 112 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.007177, allocations: 8.516 kB / 0.7335 GB, free: 104 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.699e-05/0.007234, allocations: 15.98 kB / 0.7335 GB, free: 88 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-06/0.00724, allocations: 1.625 kB / 0.7335 GB, free: 88 kB / 0.698 GB Notification: Performance of sorting global known variables: time 2.203e-05/0.007262, allocations: 16.84 kB / 0.7335 GB, free: 68 kB / 0.698 GB Notification: Performance of sort global known variables: time 6e-08/0.007262, allocations: 0 / 0.7335 GB, free: 68 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002625/0.007524, allocations: 15.95 kB / 0.7336 GB, free: 52 kB / 0.698 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.0001339/0.007658, allocations: 89.62 kB / 0.7336 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.503e-05/0.007753, allocations: 25.42 kB / 0.7337 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/0.00776, allocations: 0.7188 kB / 0.7337 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.133e-05/0.007801, allocations: 25.53 kB / 0.7337 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002873/0.008089, allocations: 12.81 kB / 0.7337 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005398/0.008629, allocations: 197.2 kB / 0.7339 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.318e-05/0.008682, allocations: 63.34 kB / 0.7339 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.295e-05/0.008725, allocations: 5.969 kB / 0.734 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.046e-05/0.008805, allocations: 60.17 kB / 0.734 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of SimCode: time 5.81e-07/0.008806, allocations: 4 kB / 0.734 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of Templates: time 0.00364/0.01245, allocations: 1.308 MB / 0.7353 GB, free: 14.27 MB / 0.7136 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.924233675003052]