Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00181/0.00181, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001562/0.001562, allocations: 160.6 kB / 22.45 MB, free: 5.375 MB / 14.72 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 1.531/1.531, allocations: 177.2 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.787/2.787, allocations: 359 MB / 0.6037 GB, free: 14.97 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.1.|intRep.y.2.|intRep.y.3.",fileNamePrefix="Buildings_11_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.1.|intRep.y.2.|intRep.y.3.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.655e-06/2.655e-06, allocations: 0 / 0.951 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.455e-05/3.72e-05, allocations: 2.281 kB / 0.951 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.002034/0.002071, allocations: 0.6624 MB / 0.9516 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001375/0.003447, allocations: 0.8549 MB / 0.9525 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.488e-05/0.003512, allocations: 0 / 0.9525 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001231/0.003635, allocations: 3.938 kB / 0.9525 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.359e-05/0.003668, allocations: 3.938 kB / 0.9525 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001998/0.003868, allocations: 23.84 kB / 0.9525 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.003971, allocations: 35.92 kB / 0.9525 GB, free: 9.973 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.004082, allocations: 4 kB / 0.9525 GB, free: 9.969 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.264e-05/0.004165, allocations: 15.98 kB / 0.9525 GB, free: 9.953 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.658e-05/0.004242, allocations: 19.91 kB / 0.9526 GB, free: 9.934 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.405e-05/0.004266, allocations: 8 kB / 0.9526 GB, free: 9.926 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.383e-05/0.00428, allocations: 4 kB / 0.9526 GB, free: 9.922 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.756e-05/0.004347, allocations: 11.98 kB / 0.9526 GB, free: 9.91 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.378e-05/0.004381, allocations: 4 kB / 0.9526 GB, free: 9.906 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001172/0.004498, allocations: 47.8 kB / 0.9526 GB, free: 9.859 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.004501, allocations: 0 / 0.9526 GB, free: 9.859 MB / 0.8575 GB Notification: Performance of FrontEnd: time 6.22e-07/0.004502, allocations: 0 / 0.9526 GB, free: 9.859 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.004506, allocations: 0 / 0.9526 GB, free: 9.859 MB / 0.8575 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.0005175/0.005024, allocations: 266.3 kB / 0.9529 GB, free: 9.566 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.00507, allocations: 15.97 kB / 0.9529 GB, free: 9.551 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.17e-05/0.005121, allocations: 16.89 kB / 0.9529 GB, free: 9.535 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002257/0.005347, allocations: 117.7 kB / 0.953 GB, free: 9.395 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.548e-05/0.005383, allocations: 4.375 kB / 0.953 GB, free: 9.391 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/0.0054, allocations: 4.375 kB / 0.953 GB, free: 9.387 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002535/0.005654, allocations: 62.23 kB / 0.9531 GB, free: 9.32 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.005666, allocations: 192 / 0.9531 GB, free: 9.32 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.005678, allocations: 384 / 0.9531 GB, free: 9.32 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.005686, allocations: 4.359 kB / 0.9531 GB, free: 9.316 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002128/0.005899, allocations: 43.89 kB / 0.9531 GB, free: 9.273 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004237/0.006322, allocations: 232.4 kB / 0.9534 GB, free: 9.016 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000162/0.006484, allocations: 42.55 kB / 0.9534 GB, free: 8.965 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.664e-05/0.006581, allocations: 20.91 kB / 0.9534 GB, free: 8.941 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.006603, allocations: 3.938 kB / 0.9534 GB, free: 8.938 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/0.006636, allocations: 34.56 kB / 0.9535 GB, free: 8.895 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.006637, allocations: 0 / 0.9535 GB, free: 8.895 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0004172/0.007054, allocations: 97.56 kB / 0.9535 GB, free: 8.793 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/0.007102, allocations: 51.41 kB / 0.9536 GB, free: 8.73 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.007203, allocations: 109.8 kB / 0.9537 GB, free: 8.613 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.007225, allocations: 25.7 kB / 0.9537 GB, free: 8.582 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.143e-05/0.007286, allocations: 80.14 kB / 0.9538 GB, free: 8.5 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.916e-05/0.007305, allocations: 11.95 kB / 0.9538 GB, free: 8.488 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.922e-05/0.007345, allocations: 13.72 kB / 0.9538 GB, free: 8.469 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000168/0.007513, allocations: 314.8 kB / 0.9541 GB, free: 8.152 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.525e-05/0.007608, allocations: 20.11 kB / 0.9541 GB, free: 8.133 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.617e-05/0.007694, allocations: 19.98 kB / 0.9542 GB, free: 8.113 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002414/0.007935, allocations: 40.81 kB / 0.9542 GB, free: 8.07 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.007937, allocations: 0 / 0.9542 GB, free: 8.07 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002424/0.00818, allocations: 81.53 kB / 0.9543 GB, free: 7.984 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.008197, allocations: 8.094 kB / 0.9543 GB, free: 7.977 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.008203, allocations: 0 / 0.9543 GB, free: 7.977 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.008222, allocations: 0 / 0.9543 GB, free: 7.977 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.008344, allocations: 11.98 kB / 0.9543 GB, free: 7.965 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.008352, allocations: 0 / 0.9543 GB, free: 7.965 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.806e-05/0.00841, allocations: 7.984 kB / 0.9543 GB, free: 7.957 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.008416, allocations: 0 / 0.9543 GB, free: 7.957 MB / 0.8575 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 0.0001706/0.008587, allocations: 109.8 kB / 0.9544 GB, free: 7.84 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.851e-05/0.008615, allocations: 11.83 kB / 0.9544 GB, free: 7.828 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.991e-05/0.008645, allocations: 15.3 kB / 0.9544 GB, free: 7.812 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.008649, allocations: 4 kB / 0.9544 GB, free: 7.809 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.008654, allocations: 0 / 0.9544 GB, free: 7.809 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.008658, allocations: 0 / 0.9544 GB, free: 7.809 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001541/0.008812, allocations: 113.2 kB / 0.9546 GB, free: 7.668 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.008813, allocations: 4.25 kB / 0.9546 GB, free: 7.664 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.089e-05/0.008884, allocations: 11.98 kB / 0.9546 GB, free: 7.652 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.008887, allocations: 3.938 kB / 0.9546 GB, free: 7.648 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.008896, allocations: 0 / 0.9546 GB, free: 7.648 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.0089, allocations: 7.938 kB / 0.9546 GB, free: 7.641 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.0089, allocations: 0 / 0.9546 GB, free: 7.641 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002878/0.009188, allocations: 163.5 kB / 0.9547 GB, free: 7.465 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.084e-05/0.009199, allocations: 4 kB / 0.9547 GB, free: 7.461 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.719e-05/0.009216, allocations: 3.938 kB / 0.9547 GB, free: 7.457 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.489e-05/0.009301, allocations: 7.984 kB / 0.9548 GB, free: 7.449 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.6e-05/0.009367, allocations: 11.97 kB / 0.9548 GB, free: 7.438 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.009373, allocations: 4 kB / 0.9548 GB, free: 7.434 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.068e-05/0.009434, allocations: 79.28 kB / 0.9548 GB, free: 7.355 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7e-08/0.009434, allocations: 0 / 0.9548 GB, free: 7.355 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002172/0.009651, allocations: 11.98 kB / 0.9549 GB, free: 7.344 MB / 0.8575 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.0001345/0.009785, allocations: 99.19 kB / 0.9549 GB, free: 7.238 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002401/0.01003, allocations: 47.89 kB / 0.955 GB, free: 7.191 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.01003, allocations: 0 / 0.955 GB, free: 7.191 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.01013, allocations: 23.97 kB / 0.955 GB, free: 7.168 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002589/0.01039, allocations: 8.125 kB / 0.955 GB, free: 7.16 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003699/0.01076, allocations: 113.5 kB / 0.9551 GB, free: 7.023 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.773e-05/0.01084, allocations: 63.34 kB / 0.9552 GB, free: 6.941 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.771e-05/0.01087, allocations: 7.984 kB / 0.9552 GB, free: 6.934 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.906e-05/0.01091, allocations: 12.5 kB / 0.9552 GB, free: 6.922 MB / 0.8575 GB Notification: Performance of SimCode: time 3.71e-07/0.01091, allocations: 4 kB / 0.9552 GB, free: 6.918 MB / 0.8575 GB Notification: Performance of Templates: time 0.003825/0.01474, allocations: 0.6595 MB / 0.9559 GB, free: 6.266 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.18638638406992]