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.0007817/0.0007817, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00111/0.001892, 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.0007029/0.0007029, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001075/0.001777, 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.927/0.927, allocations: 177.2 MB / 189.8 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09251/1.02, 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.824/1.824, allocations: 378.4 MB / 0.6079 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5047/2.329, allocations: 123.3 MB / 0.7283 GB, free: 5.711 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 1.794e-06/1.794e-06, allocations: 0 / 0.7296 GB, free: 4.414 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.727e-05/1.907e-05, allocations: 2.312 kB / 0.7296 GB, free: 4.41 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.001676/0.001695, allocations: 0.7373 MB / 0.7304 GB, free: 3.707 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009669/0.002662, allocations: 0.8884 MB / 0.7312 GB, free: 2.809 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.668e-05/0.002708, allocations: 2.594 kB / 0.7312 GB, free: 2.809 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 6.602e-05/0.002774, allocations: 7.922 kB / 0.7312 GB, free: 2.801 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.13e-05/0.002836, allocations: 5.641 kB / 0.7312 GB, free: 2.797 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 7.821e-05/0.002914, allocations: 23.86 kB / 0.7313 GB, free: 2.773 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001401/0.003054, allocations: 72.91 kB / 0.7313 GB, free: 2.711 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.003174, allocations: 24.75 kB / 0.7314 GB, free: 2.688 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001228/0.003297, allocations: 52.44 kB / 0.7314 GB, free: 2.641 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.003414, allocations: 45.09 kB / 0.7315 GB, free: 2.602 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.085e-05/0.003445, allocations: 8 kB / 0.7315 GB, free: 2.594 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.725e-05/0.003462, allocations: 4 kB / 0.7315 GB, free: 2.59 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 5.571e-05/0.003518, allocations: 20.03 kB / 0.7315 GB, free: 2.574 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.112e-05/0.003559, allocations: 18.41 kB / 0.7315 GB, free: 2.559 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001321/0.003691, allocations: 61.56 kB / 0.7316 GB, free: 2.5 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.375e-05/0.003705, allocations: 0 / 0.7316 GB, free: 2.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.11e-07/0.003705, allocations: 1.406 kB / 0.7316 GB, free: 2.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.614e-05/0.003721, allocations: 0 / 0.7316 GB, free: 2.5 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.0004969/0.004218, allocations: 292.3 kB / 0.7318 GB, free: 2.188 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.004258, allocations: 12.59 kB / 0.7319 GB, free: 2.176 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.321e-05/0.004301, allocations: 8.922 kB / 0.7319 GB, free: 2.168 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.004454, allocations: 126.6 kB / 0.732 GB, free: 2.02 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.669e-05/0.004481, allocations: 4.375 kB / 0.732 GB, free: 2.016 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.897e-05/0.0045, allocations: 9.031 kB / 0.732 GB, free: 2.008 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002107/0.00471, allocations: 105 kB / 0.7321 GB, free: 1.891 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.004719, allocations: 1.094 kB / 0.7321 GB, free: 1.891 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.004732, allocations: 8.375 kB / 0.7321 GB, free: 1.883 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.463e-06/0.004739, allocations: 0.9688 kB / 0.7321 GB, free: 1.883 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.743e-05/0.004796, allocations: 23.91 kB / 0.7321 GB, free: 1.859 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003474/0.005144, allocations: 288.4 kB / 0.7324 GB, free: 1.559 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.013e-05/0.005234, allocations: 58.14 kB / 0.7325 GB, free: 1.484 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.946e-05/0.005263, allocations: 13.78 kB / 0.7325 GB, free: 1.465 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.005279, allocations: 5.016 kB / 0.7325 GB, free: 1.461 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.005305, allocations: 34.56 kB / 0.7325 GB, free: 1.418 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 9.01e-07/0.005306, allocations: 1.719 kB / 0.7325 GB, free: 1.418 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0001737/0.00548, allocations: 49.62 kB / 0.7326 GB, free: 1.363 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/0.005521, allocations: 85.11 kB / 0.7326 GB, free: 1.262 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.557e-05/0.005607, allocations: 131.4 kB / 0.7328 GB, free: 1.121 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.005622, allocations: 25.7 kB / 0.7328 GB, free: 1.09 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.858e-05/0.005661, allocations: 92.53 kB / 0.7329 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.326e-05/0.005684, allocations: 13.62 kB / 0.7329 GB, free: 0.9844 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.412e-05/0.005728, allocations: 25.64 kB / 0.7329 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.882e-05/0.005817, allocations: 318.8 kB / 0.7332 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.975e-05/0.005837, allocations: 4 kB / 0.7332 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.796e-05/0.005865, allocations: 14.59 kB / 0.7332 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.29e-05/0.005927, allocations: 33.62 kB / 0.7333 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.005931, allocations: 4 kB / 0.7333 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.72e-05/0.006018, allocations: 59.3 kB / 0.7333 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.006033, allocations: 8 kB / 0.7333 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.006037, allocations: 0 / 0.7333 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.006049, allocations: 0 / 0.7333 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.006157, allocations: 17.2 kB / 0.7334 GB, free: 492 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.805e-06/0.00616, allocations: 0 / 0.7334 GB, free: 492 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.154e-05/0.006202, allocations: 11.89 kB / 0.7334 GB, free: 480 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.814e-06/0.006209, allocations: 4.641 kB / 0.7334 GB, free: 476 kB / 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 9.299e-05/0.006302, allocations: 117.8 kB / 0.7335 GB, free: 348 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.929e-05/0.006342, allocations: 11.88 kB / 0.7335 GB, free: 336 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.734e-05/0.006369, allocations: 8.188 kB / 0.7335 GB, free: 324 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.006372, allocations: 4 kB / 0.7335 GB, free: 320 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.006376, allocations: 4.516 kB / 0.7335 GB, free: 316 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.006379, allocations: 1.031 kB / 0.7335 GB, free: 316 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001754/0.006554, allocations: 77.88 kB / 0.7336 GB, free: 220 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.006555, allocations: 0 / 0.7336 GB, free: 220 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.768e-05/0.006623, allocations: 16.52 kB / 0.7336 GB, free: 204 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.745e-06/0.006631, allocations: 5.5 kB / 0.7336 GB, free: 200 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.006634, allocations: 4 kB / 0.7336 GB, free: 196 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.006641, allocations: 0 / 0.7336 GB, free: 196 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.006643, allocations: 0 / 0.7336 GB, free: 196 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.006644, allocations: 0 / 0.7336 GB, free: 196 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001614/0.006805, allocations: 232 kB / 0.7338 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.006821, allocations: 7.938 kB / 0.7338 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.006925, allocations: 9.078 kB / 0.7338 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.005e-05/0.006985, allocations: 15.92 kB / 0.7339 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.00699, allocations: 0 / 0.7339 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.536e-05/0.007016, allocations: 21.81 kB / 0.7339 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.007016, allocations: 0 / 0.7339 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002362/0.007252, allocations: 15.95 kB / 0.7339 GB, free: 15.88 MB / 0.7136 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.82e-05/0.00734, allocations: 77.67 kB / 0.734 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.379e-05/0.007434, allocations: 25.59 kB / 0.734 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/0.007441, allocations: 4.719 kB / 0.734 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.285e-05/0.007494, allocations: 26.25 kB / 0.734 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.007784, allocations: 71.38 kB / 0.7341 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005059/0.00829, allocations: 185.1 kB / 0.7343 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.205e-05/0.008342, allocations: 64.59 kB / 0.7343 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.304e-05/0.008385, allocations: 9.234 kB / 0.7343 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.235e-05/0.008478, allocations: 59.97 kB / 0.7344 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of SimCode: time 6.52e-07/0.008478, allocations: 2.781 kB / 0.7344 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of Templates: time 0.003352/0.01183, allocations: 1.305 MB / 0.7357 GB, free: 14.05 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.636486602947116]