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.002505/0.002505, allocations: 83.69 kB / 20.23 MB, free: 4.184 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.002812/0.002812, allocations: 161.3 kB / 23.55 MB, free: 0.8711 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 1.667/1.667, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.201/3.201, allocations: 377.8 MB / 0.6232 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.1.|intRep.y.2.|intRep.y.3.",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.1.|intRep.y.2.|intRep.y.3.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 0.8108 GB, free: 1.984 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.016e-05/3.223e-05, allocations: 7.906 kB / 0.8108 GB, free: 1.977 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001863/0.001895, allocations: 0.6743 MB / 0.8115 GB, free: 1.328 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001266/0.003161, allocations: 0.8628 MB / 0.8123 GB, free: 464 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.006e-05/0.003211, allocations: 0 / 0.8123 GB, free: 464 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001128/0.003324, allocations: 5.312 kB / 0.8123 GB, free: 460 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 2.758e-05/0.003352, allocations: 0 / 0.8123 GB, free: 460 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001709/0.003523, allocations: 23.92 kB / 0.8123 GB, free: 436 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 8.178e-05/0.003604, allocations: 27.92 kB / 0.8124 GB, free: 408 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 8.922e-05/0.003694, allocations: 16.53 kB / 0.8124 GB, free: 392 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 7.098e-05/0.003765, allocations: 17.27 kB / 0.8124 GB, free: 376 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 6.803e-05/0.003833, allocations: 11.98 kB / 0.8124 GB, free: 364 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.881e-05/0.003851, allocations: 4 kB / 0.8124 GB, free: 360 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.238e-05/0.003864, allocations: 4 kB / 0.8124 GB, free: 356 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 5.775e-05/0.003922, allocations: 17.86 kB / 0.8124 GB, free: 340 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.473e-05/0.003956, allocations: 11.98 kB / 0.8124 GB, free: 328 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001046/0.004061, allocations: 39.81 kB / 0.8125 GB, free: 288 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.004063, allocations: 0 / 0.8125 GB, free: 288 kB / 0.7605 GB Notification: Performance of FrontEnd: time 5.11e-07/0.004063, allocations: 3.938 kB / 0.8125 GB, free: 284 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.004067, allocations: 1.969 kB / 0.8125 GB, free: 284 kB / 0.7605 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.000544/0.004611, allocations: 368.2 kB / 0.8128 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.004652, allocations: 12.02 kB / 0.8128 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.059e-05/0.004692, allocations: 4.938 kB / 0.8128 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.004852, allocations: 120.6 kB / 0.813 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/0.004873, allocations: 8.984 kB / 0.813 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.327e-06/0.004882, allocations: 0.9062 kB / 0.813 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.005047, allocations: 58.95 kB / 0.813 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.005055, allocations: 192 / 0.813 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.146e-06/0.005063, allocations: 0.9062 kB / 0.813 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.005066, allocations: 384 / 0.813 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001563/0.005223, allocations: 45.28 kB / 0.8131 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004014/0.005624, allocations: 263.8 kB / 0.8133 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001263/0.00575, allocations: 43.58 kB / 0.8134 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.446e-05/0.005825, allocations: 25.11 kB / 0.8134 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.005843, allocations: 7.875 kB / 0.8134 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/0.005878, allocations: 33.39 kB / 0.8134 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.005879, allocations: 1.156 kB / 0.8134 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0003122/0.006191, allocations: 75 kB / 0.8135 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.61e-05/0.006237, allocations: 51.41 kB / 0.8136 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.006378, allocations: 165.9 kB / 0.8137 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.0064, allocations: 25.7 kB / 0.8137 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003442/0.006745, allocations: 143.7 kB / 0.8139 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.515e-05/0.00676, allocations: 3.938 kB / 0.8139 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.425e-05/0.006814, allocations: 28.14 kB / 0.8139 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002693/0.007083, allocations: 0.4884 MB / 0.8144 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.544e-05/0.007159, allocations: 17.14 kB / 0.8144 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.047e-05/0.007209, allocations: 12 kB / 0.8144 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001072/0.007316, allocations: 28.52 kB / 0.8144 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.007318, allocations: 1.344 kB / 0.8144 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001619/0.00748, allocations: 65.56 kB / 0.8145 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.007496, allocations: 8 kB / 0.8145 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.0075, allocations: 1.438 kB / 0.8145 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.007512, allocations: 0 / 0.8145 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.464e-05/0.007607, allocations: 11.98 kB / 0.8145 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.007611, allocations: 1.875 kB / 0.8145 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.904e-05/0.00765, allocations: 7.938 kB / 0.8145 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.007655, allocations: 0 / 0.8145 GB, free: 13.99 MB / 0.7761 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.0001243/0.00778, allocations: 160.6 kB / 0.8147 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.709e-05/0.007807, allocations: 6.406 kB / 0.8147 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.015e-05/0.007827, allocations: 3.312 kB / 0.8147 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.798e-06/0.007831, allocations: 4 kB / 0.8147 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.007833, allocations: 0 / 0.8147 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.007838, allocations: 3.984 kB / 0.8147 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001625/0.008, allocations: 120.6 kB / 0.8148 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.6e-05/0.008016, allocations: 4.484 kB / 0.8148 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.711e-05/0.008073, allocations: 4.531 kB / 0.8148 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.008078, allocations: 3.938 kB / 0.8148 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.008084, allocations: 1.344 kB / 0.8148 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.008086, allocations: 0 / 0.8148 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.008089, allocations: 4 kB / 0.8148 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002554/0.008344, allocations: 204.6 kB / 0.815 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.957e-06/0.008353, allocations: 4.609 kB / 0.815 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.008369, allocations: 7.938 kB / 0.815 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.7e-05/0.008436, allocations: 8.641 kB / 0.815 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.934e-05/0.008485, allocations: 4 kB / 0.815 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.008489, allocations: 7.094 kB / 0.8151 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.149e-05/0.008571, allocations: 131.2 kB / 0.8152 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.008571, allocations: 0 / 0.8152 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001987/0.008769, allocations: 4 kB / 0.8152 GB, free: 13.26 MB / 0.7761 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.0001197/0.008889, allocations: 95.25 kB / 0.8153 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001816/0.009071, allocations: 38.08 kB / 0.8153 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.009072, allocations: 0 / 0.8153 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.974e-05/0.009152, allocations: 27.67 kB / 0.8153 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002355/0.009387, allocations: 15.86 kB / 0.8154 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003335/0.009721, allocations: 127.3 kB / 0.8155 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.71e-05/0.009798, allocations: 67.2 kB / 0.8155 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.353e-05/0.009831, allocations: 5.062 kB / 0.8155 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.807e-05/0.009869, allocations: 9.594 kB / 0.8156 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of SimCode: time 4.51e-07/0.00987, allocations: 0 / 0.8156 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of Templates: time 0.003413/0.01328, allocations: 0.6704 MB / 0.8162 GB, free: 12.18 MB / 0.7761 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 -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","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.42198295891285]