Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 120.3 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 191.7 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 225.6 MB / 248.5 MB, free: 3.629 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.646/2.646, allocations: 443.5 MB / 0.7293 GB, free: 14.5 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 67.89 kB / 1.057 GB, free: 1.953 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3243, allocations: 160.7 MB / 1.214 GB, free: 0.9258 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.002011/0.3263, allocations: 0.6715 MB / 1.215 GB, free: 252 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001066/0.3274, allocations: 0.839 MB / 1.216 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.952e-05/0.3274, allocations: 4 kB / 1.216 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001061/0.3275, allocations: 0 / 1.216 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 2.499e-05/0.3275, allocations: 3.938 kB / 1.216 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001705/0.3277, allocations: 19.86 kB / 1.216 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.984e-05/0.3278, allocations: 31.98 kB / 1.216 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.3279, allocations: 11.94 kB / 1.216 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.713e-05/0.328, allocations: 15.91 kB / 1.216 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.966e-05/0.328, allocations: 27.92 kB / 1.216 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.3281, allocations: 0 / 1.216 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.239e-05/0.3281, allocations: 4 kB / 1.216 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.207e-05/0.3282, allocations: 15.92 kB / 1.216 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.253e-05/0.3282, allocations: 11.94 kB / 1.216 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001203/0.3283, allocations: 39.86 kB / 1.216 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3283, allocations: 0 / 1.216 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3283, allocations: 0 / 1.216 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.3283, allocations: 0 / 1.216 GB, free: 15.21 MB / 0.9669 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.0005518/0.3289, allocations: 355.3 kB / 1.216 GB, free: 14.81 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.3289, allocations: 12.03 kB / 1.216 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.273e-05/0.329, allocations: 4.922 kB / 1.216 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000196/0.3292, allocations: 172.3 kB / 1.216 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.3292, allocations: 384 / 1.216 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.721e-05/0.3292, allocations: 4.375 kB / 1.216 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002143/0.3294, allocations: 66.16 kB / 1.216 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.3294, allocations: 192 / 1.216 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.3294, allocations: 7.938 kB / 1.216 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.3294, allocations: 0 / 1.216 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001964/0.3296, allocations: 47.95 kB / 1.216 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004196/0.33, allocations: 284.8 kB / 1.217 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001514/0.3302, allocations: 38.5 kB / 1.217 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001107/0.3303, allocations: 32.89 kB / 1.217 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.388e-05/0.3303, allocations: 0 / 1.217 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.3303, allocations: 30.56 kB / 1.217 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 7.61e-07/0.3303, allocations: 0 / 1.217 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0004044/0.3308, allocations: 93.53 kB / 1.217 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.3308, allocations: 55.53 kB / 1.217 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.584e-05/0.3309, allocations: 101.8 kB / 1.217 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.3309, allocations: 33.64 kB / 1.217 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.367e-05/0.331, allocations: 84.14 kB / 1.217 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.488e-05/0.331, allocations: 3.953 kB / 1.217 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.85e-05/0.331, allocations: 17.7 kB / 1.217 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.3312, allocations: 318.8 kB / 1.217 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.215e-05/0.3313, allocations: 23.91 kB / 1.217 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.295e-05/0.3313, allocations: 19.98 kB / 1.217 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001753/0.3315, allocations: 48.81 kB / 1.217 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3315, allocations: 0 / 1.217 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002221/0.3317, allocations: 69.59 kB / 1.218 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.3318, allocations: 9.969 kB / 1.218 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.3318, allocations: 0 / 1.218 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.3318, allocations: 0 / 1.218 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.3319, allocations: 12.23 kB / 1.218 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.3319, allocations: 0 / 1.218 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.831e-05/0.332, allocations: 11.95 kB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.332, allocations: 0 / 1.218 GB, free: 13.07 MB / 0.9669 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.0001509/0.3321, allocations: 121.8 kB / 1.218 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.3321, allocations: 4 kB / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.276e-05/0.3322, allocations: 7.125 kB / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.3322, allocations: 0 / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.3322, allocations: 0 / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.3322, allocations: 0 / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000188/0.3324, allocations: 173.6 kB / 1.218 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3324, allocations: 0 / 1.218 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.425e-05/0.3324, allocations: 11.98 kB / 1.218 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.3324, allocations: 0 / 1.218 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.3324, allocations: 0 / 1.218 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.3324, allocations: 0 / 1.218 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3324, allocations: 4 kB / 1.218 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002808/0.3327, allocations: 171.4 kB / 1.218 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.991e-05/0.3328, allocations: 85.05 kB / 1.218 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.3328, allocations: 0 / 1.218 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.24e-05/0.3329, allocations: 4 kB / 1.218 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.042e-05/0.3329, allocations: 16.02 kB / 1.218 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.3329, allocations: 0 / 1.218 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.905e-05/0.333, allocations: 79.28 kB / 1.218 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.333, allocations: 0 / 1.218 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002163/0.3332, allocations: 4 kB / 1.218 GB, free: 12.3 MB / 0.9669 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.000138/0.3333, allocations: 107.2 kB / 1.218 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002602/0.3336, allocations: 47.89 kB / 1.218 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3336, allocations: 7.875 kB / 1.218 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.336e-05/0.3337, allocations: 23.92 kB / 1.218 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002432/0.3339, allocations: 0 / 1.218 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003781/0.3343, allocations: 155.1 kB / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003122/0.3346, allocations: 0.6768 MB / 1.219 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.941e-05/0.3347, allocations: 15.56 kB / 1.219 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of SimCode: time 2.9e-07/0.3347, allocations: 0 / 1.219 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of Templates: time 0.002279/0.3369, allocations: 0.675 MB / 1.22 GB, free: 10.54 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.69631639891304]