Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.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.001093/0.001093, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001687/0.002781, allocations: 449.8 kB / 10.44 MB, free: 252 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.001085/0.001085, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001409/0.002494, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9905/0.9905, allocations: 177.2 MB / 189.8 MB, free: 5.266 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09344/1.084, allocations: 53.66 MB / 243.4 MB, free: 15.52 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.789/1.789, allocations: 378.3 MB / 0.6079 GB, free: 7.711 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5731/2.362, allocations: 123.3 MB / 0.7283 GB, free: 5.738 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.IntegerScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ram.y|reaToInt.y|intRep.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ram.y|reaToInt.y|intRep.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 0.7296 GB, free: 4.441 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.805e-05/3.001e-05, allocations: 7.906 kB / 0.7296 GB, free: 4.434 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.0021/0.00213, allocations: 0.7382 MB / 0.7304 GB, free: 3.73 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001014/0.003143, allocations: 0.8806 MB / 0.7312 GB, free: 2.84 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.388e-05/0.003187, allocations: 0 / 0.7312 GB, free: 2.84 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 6.701e-05/0.003254, allocations: 0 / 0.7312 GB, free: 2.84 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.656e-05/0.003281, allocations: 5.031 kB / 0.7312 GB, free: 2.836 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001084/0.003389, allocations: 24.45 kB / 0.7312 GB, free: 2.812 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001005/0.00349, allocations: 35.45 kB / 0.7313 GB, free: 2.785 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.39e-05/0.003584, allocations: 11.98 kB / 0.7313 GB, free: 2.773 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.003692, allocations: 25.56 kB / 0.7313 GB, free: 2.75 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.937e-05/0.003772, allocations: 17.39 kB / 0.7313 GB, free: 2.734 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.691e-05/0.003799, allocations: 4 kB / 0.7313 GB, free: 2.73 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.445e-05/0.003813, allocations: 4.875 kB / 0.7313 GB, free: 2.727 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 5.694e-05/0.00387, allocations: 5.422 kB / 0.7313 GB, free: 2.723 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.238e-05/0.003902, allocations: 10.03 kB / 0.7314 GB, free: 2.715 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001078/0.00401, allocations: 24.66 kB / 0.7314 GB, free: 2.695 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.36e-05/0.004034, allocations: 0 / 0.7314 GB, free: 2.695 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.323e-06/0.004035, allocations: 0 / 0.7314 GB, free: 2.695 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.952e-05/0.004055, allocations: 0 / 0.7314 GB, free: 2.695 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004447/0.004499, allocations: 245.2 kB / 0.7316 GB, free: 2.43 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.004541, allocations: 18.55 kB / 0.7316 GB, free: 2.414 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.985e-05/0.00458, allocations: 4.938 kB / 0.7316 GB, free: 2.41 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.00472, allocations: 109.8 kB / 0.7317 GB, free: 2.277 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.041e-05/0.004741, allocations: 1.031 kB / 0.7317 GB, free: 2.277 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.637e-05/0.004757, allocations: 8.312 kB / 0.7317 GB, free: 2.27 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.004906, allocations: 59.72 kB / 0.7318 GB, free: 2.203 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.004914, allocations: 4.812 kB / 0.7318 GB, free: 2.199 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.004925, allocations: 4.359 kB / 0.7318 GB, free: 2.195 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.004931, allocations: 1.25 kB / 0.7318 GB, free: 2.195 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.869e-05/0.00497, allocations: 11.92 kB / 0.7318 GB, free: 2.184 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002334/0.005203, allocations: 179.8 kB / 0.732 GB, free: 1.992 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.105e-05/0.005254, allocations: 23.83 kB / 0.732 GB, free: 1.961 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.621e-05/0.00527, allocations: 8.922 kB / 0.732 GB, free: 1.949 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.149e-05/0.005282, allocations: 0.9844 kB / 0.732 GB, free: 1.949 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/0.005302, allocations: 31.09 kB / 0.7321 GB, free: 1.91 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.273e-06/0.005303, allocations: 1.719 kB / 0.7321 GB, free: 1.91 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001114/0.005415, allocations: 49.56 kB / 0.7321 GB, free: 1.855 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.546e-05/0.00544, allocations: 51.41 kB / 0.7322 GB, free: 1.793 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.539e-05/0.005496, allocations: 110.8 kB / 0.7323 GB, free: 1.672 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.927e-06/0.005505, allocations: 26.52 kB / 0.7323 GB, free: 1.641 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.246e-05/0.005537, allocations: 93.41 kB / 0.7324 GB, free: 1.547 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.441e-05/0.005551, allocations: 4.453 kB / 0.7324 GB, free: 1.543 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.597e-05/0.005577, allocations: 23.34 kB / 0.7324 GB, free: 1.516 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.772e-05/0.005645, allocations: 314.8 kB / 0.7327 GB, free: 1.199 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.277e-06/0.005654, allocations: 0 / 0.7327 GB, free: 1.199 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.386e-06/0.005663, allocations: 4 kB / 0.7327 GB, free: 1.195 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.998e-05/0.005693, allocations: 17.34 kB / 0.7327 GB, free: 1.176 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.005694, allocations: 0 / 0.7327 GB, free: 1.176 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.361e-05/0.005738, allocations: 38.89 kB / 0.7328 GB, free: 1.133 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.005753, allocations: 11.94 kB / 0.7328 GB, free: 1.121 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.005757, allocations: 1.75 kB / 0.7328 GB, free: 1.121 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.005769, allocations: 0 / 0.7328 GB, free: 1.121 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.642e-05/0.005845, allocations: 7.984 kB / 0.7328 GB, free: 1.113 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-06/0.005848, allocations: 0.9844 kB / 0.7328 GB, free: 1.113 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.652e-05/0.005864, allocations: 4 kB / 0.7328 GB, free: 1.109 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.966e-06/0.005867, allocations: 1.219 kB / 0.7328 GB, free: 1.109 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.545e-05/0.005943, allocations: 120.7 kB / 0.7329 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.188e-05/0.005954, allocations: 0.6562 kB / 0.7329 GB, free: 0.9805 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.089e-05/0.005975, allocations: 7.25 kB / 0.7329 GB, free: 0.9688 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-06/0.005977, allocations: 1.125 kB / 0.7329 GB, free: 0.9688 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.005979, allocations: 4 kB / 0.7329 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.005981, allocations: 0 / 0.7329 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.653e-05/0.006058, allocations: 71.16 kB / 0.733 GB, free: 0.8789 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.006059, allocations: 1.031 kB / 0.733 GB, free: 0.8789 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.027e-05/0.006089, allocations: 8 kB / 0.733 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.94e-06/0.006094, allocations: 3.984 kB / 0.733 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.006095, allocations: 0.5312 kB / 0.733 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.959e-06/0.0061, allocations: 5.344 kB / 0.733 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.006102, allocations: 4.703 kB / 0.733 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.006103, allocations: 0 / 0.733 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.005e-05/0.006183, allocations: 136.1 kB / 0.7331 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.584e-06/0.006191, allocations: 0 / 0.7331 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.18e-05/0.006223, allocations: 5.469 kB / 0.7331 GB, free: 0.707 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.544e-05/0.006258, allocations: 7.922 kB / 0.7331 GB, free: 0.6992 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.006263, allocations: 12 kB / 0.7332 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.157e-05/0.006275, allocations: 10.7 kB / 0.7332 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of sort global known variables: time 6e-08/0.006275, allocations: 4 kB / 0.7332 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001065/0.006381, allocations: 5.188 kB / 0.7332 GB, free: 0.668 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001014/0.006483, allocations: 84.39 kB / 0.7333 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 6.313e-05/0.006546, allocations: 18.2 kB / 0.7333 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.006549, allocations: 0.75 kB / 0.7333 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.342e-05/0.006573, allocations: 14.55 kB / 0.7333 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001437/0.006717, allocations: 39.28 kB / 0.7333 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003787/0.007095, allocations: 131.3 kB / 0.7335 GB, free: 348 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.418e-05/0.007129, allocations: 56.59 kB / 0.7335 GB, free: 272 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.363e-05/0.007153, allocations: 5.25 kB / 0.7335 GB, free: 268 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.934e-05/0.007202, allocations: 51.38 kB / 0.7336 GB, free: 216 kB / 0.698 GB Notification: Performance of SimCode: time 1.102e-06/0.007204, allocations: 3.938 kB / 0.7336 GB, free: 212 kB / 0.698 GB Notification: Performance of Templates: time 0.00222/0.009423, allocations: 0.6732 MB / 0.7342 GB, free: 15.56 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.942317523062229]