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.00149/0.00149, allocations: 77.55 kB / 19.76 MB, free: 2.031 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.001711/0.001711, allocations: 158.9 kB / 23.01 MB, free: 4.949 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.512/1.512, allocations: 177.2 MB / 203.4 MB, free: 8.941 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.691/2.691, allocations: 359.1 MB / 0.6044 GB, free: 14.84 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00283/0.00283, allocations: 64.19 kB / 0.9515 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3589/0.3618, allocations: 169.9 MB / 1.117 GB, free: 2.535 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.002707/0.3645, allocations: 0.669 MB / 1.118 GB, free: 1.867 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001426/0.3659, allocations: 0.8432 MB / 1.119 GB, free: 1.012 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.603e-05/0.366, allocations: 0 / 1.119 GB, free: 1.012 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001116/0.3661, allocations: 7.938 kB / 1.119 GB, free: 1.004 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.207e-05/0.3661, allocations: 3.938 kB / 1.119 GB, free: 1 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001896/0.3663, allocations: 23.98 kB / 1.119 GB, free: 0.9766 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.841e-05/0.3664, allocations: 39.84 kB / 1.119 GB, free: 0.9375 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.3665, allocations: 7.984 kB / 1.119 GB, free: 0.9297 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.185e-05/0.3666, allocations: 8 kB / 1.119 GB, free: 0.9219 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.338e-05/0.3666, allocations: 15.92 kB / 1.119 GB, free: 0.9062 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.066e-05/0.3667, allocations: 4 kB / 1.119 GB, free: 0.9023 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.342e-05/0.3667, allocations: 4 kB / 1.119 GB, free: 0.8984 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.018e-05/0.3667, allocations: 19.91 kB / 1.119 GB, free: 0.8789 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.341e-05/0.3668, allocations: 7.938 kB / 1.119 GB, free: 0.8711 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001255/0.3669, allocations: 43.81 kB / 1.119 GB, free: 0.8281 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.3669, allocations: 0 / 1.119 GB, free: 0.8281 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3669, allocations: 4 kB / 1.119 GB, free: 0.8242 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.3669, allocations: 0 / 1.119 GB, free: 0.8242 MB / 1.061 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.0005333/0.3675, allocations: 270.3 kB / 1.119 GB, free: 0.5273 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.3675, allocations: 12.03 kB / 1.119 GB, free: 0.5156 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.193e-05/0.3675, allocations: 8.891 kB / 1.119 GB, free: 0.5078 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001692/0.3677, allocations: 110.5 kB / 1.119 GB, free: 384 kB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.413e-05/0.3677, allocations: 8.312 kB / 1.12 GB, free: 376 kB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.3678, allocations: 4.375 kB / 1.12 GB, free: 372 kB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002145/0.368, allocations: 70.2 kB / 1.12 GB, free: 296 kB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.368, allocations: 4.188 kB / 1.12 GB, free: 292 kB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.368, allocations: 3.938 kB / 1.12 GB, free: 288 kB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.368, allocations: 0 / 1.12 GB, free: 288 kB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001945/0.3682, allocations: 43.89 kB / 1.12 GB, free: 244 kB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003941/0.3686, allocations: 220.5 kB / 1.12 GB, free: 15.99 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001484/0.3687, allocations: 46.48 kB / 1.12 GB, free: 15.94 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.262e-05/0.3688, allocations: 28.84 kB / 1.12 GB, free: 15.91 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.514e-05/0.3688, allocations: 0 / 1.12 GB, free: 15.91 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/0.3689, allocations: 34.56 kB / 1.12 GB, free: 15.86 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 7.32e-07/0.3689, allocations: 0 / 1.12 GB, free: 15.86 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0003843/0.3693, allocations: 85.64 kB / 1.12 GB, free: 15.77 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.788e-05/0.3693, allocations: 59.39 kB / 1.12 GB, free: 15.7 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.059e-05/0.3694, allocations: 101.9 kB / 1.12 GB, free: 15.59 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.3694, allocations: 29.83 kB / 1.12 GB, free: 15.56 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.815e-05/0.3695, allocations: 88.08 kB / 1.12 GB, free: 15.47 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.928e-05/0.3695, allocations: 11.95 kB / 1.12 GB, free: 15.46 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.615e-05/0.3695, allocations: 13.72 kB / 1.12 GB, free: 15.44 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.3697, allocations: 318.8 kB / 1.121 GB, free: 15.12 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.792e-05/0.3698, allocations: 15.97 kB / 1.121 GB, free: 15.1 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.171e-05/0.3698, allocations: 19.98 kB / 1.121 GB, free: 15.08 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001697/0.37, allocations: 48.81 kB / 1.121 GB, free: 15.03 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.37, allocations: 0 / 1.121 GB, free: 15.03 MB / 1.076 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002023/0.3702, allocations: 69.66 kB / 1.121 GB, free: 14.96 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.3702, allocations: 8 kB / 1.121 GB, free: 14.95 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.3702, allocations: 256 / 1.121 GB, free: 14.95 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.3702, allocations: 0 / 1.121 GB, free: 14.95 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.3704, allocations: 15.98 kB / 1.121 GB, free: 14.93 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.3704, allocations: 3.938 kB / 1.121 GB, free: 14.93 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.664e-05/0.3704, allocations: 12.02 kB / 1.121 GB, free: 14.92 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.3704, allocations: 0 / 1.121 GB, free: 14.92 MB / 1.076 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.0001527/0.3706, allocations: 113.8 kB / 1.121 GB, free: 14.8 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.439e-05/0.3706, allocations: 3.953 kB / 1.121 GB, free: 14.79 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.52e-05/0.3706, allocations: 11.25 kB / 1.121 GB, free: 14.78 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.3706, allocations: 0 / 1.121 GB, free: 14.78 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.3706, allocations: 4 kB / 1.121 GB, free: 14.78 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.3706, allocations: 0 / 1.121 GB, free: 14.78 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001463/0.3708, allocations: 109.2 kB / 1.121 GB, free: 14.64 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3708, allocations: 0 / 1.121 GB, free: 14.64 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.857e-05/0.3709, allocations: 15.98 kB / 1.121 GB, free: 14.62 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.3709, allocations: 3.938 kB / 1.121 GB, free: 14.62 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.3709, allocations: 0 / 1.121 GB, free: 14.62 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.3709, allocations: 0 / 1.121 GB, free: 14.62 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/0.3709, allocations: 7.984 kB / 1.121 GB, free: 14.61 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002608/0.3711, allocations: 163.5 kB / 1.121 GB, free: 14.44 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.164e-05/0.3711, allocations: 11.92 kB / 1.121 GB, free: 14.43 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.3712, allocations: 0 / 1.121 GB, free: 14.43 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.362e-05/0.3712, allocations: 12.02 kB / 1.121 GB, free: 14.41 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.632e-05/0.3713, allocations: 4 kB / 1.121 GB, free: 14.41 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.3713, allocations: 4 kB / 1.121 GB, free: 14.41 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.814e-05/0.3713, allocations: 87.27 kB / 1.121 GB, free: 14.32 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.3713, allocations: 0 / 1.121 GB, free: 14.32 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002142/0.3716, allocations: 4 kB / 1.121 GB, free: 14.32 MB / 1.076 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.000104/0.3717, allocations: 99.19 kB / 1.121 GB, free: 14.21 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002466/0.3719, allocations: 43.95 kB / 1.121 GB, free: 14.17 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3719, allocations: 0 / 1.121 GB, free: 14.17 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001011/0.372, allocations: 23.97 kB / 1.121 GB, free: 14.14 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002447/0.3723, allocations: 7.938 kB / 1.121 GB, free: 14.14 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003241/0.3726, allocations: 125.4 kB / 1.122 GB, free: 13.99 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.757e-05/0.3726, allocations: 63.34 kB / 1.122 GB, free: 13.91 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.55e-05/0.3727, allocations: 8.125 kB / 1.122 GB, free: 13.9 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.447e-05/0.3727, allocations: 16.48 kB / 1.122 GB, free: 13.88 MB / 1.076 GB Notification: Performance of SimCode: time 3.21e-07/0.3727, allocations: 0 / 1.122 GB, free: 13.88 MB / 1.076 GB Notification: Performance of Templates: time 0.003177/0.3759, allocations: 0.6431 MB / 1.122 GB, free: 13.25 MB / 1.076 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 -s ida -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/jenkins1/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.84929467306938]