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.001539/0.001539, allocations: 114.4 kB / 17.08 MB, free: 5.789 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.001626/0.001626, allocations: 193.2 kB / 20.03 MB, free: 2.906 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.428/1.428, allocations: 222.9 MB / 245.7 MB, free: 4.199 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.732/2.732, allocations: 437.1 MB / 0.7178 GB, free: 4.527 MB / 0.5606 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.002021/0.002021, allocations: 67.89 kB / 1.028 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3046/0.3066, allocations: 151.6 MB / 1.176 GB, free: 5.906 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001817/0.3085, allocations: 0.6658 MB / 1.176 GB, free: 5.23 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001058/0.3095, allocations: 0.8394 MB / 1.177 GB, free: 4.379 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.516e-05/0.3096, allocations: 4 kB / 1.177 GB, free: 4.375 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 9.834e-05/0.3097, allocations: 3.938 kB / 1.177 GB, free: 4.371 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 2.098e-05/0.3098, allocations: 3.938 kB / 1.177 GB, free: 4.367 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001556/0.3099, allocations: 11.98 kB / 1.177 GB, free: 4.355 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.774e-05/0.31, allocations: 39.91 kB / 1.177 GB, free: 4.316 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.3101, allocations: 11.94 kB / 1.177 GB, free: 4.305 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.725e-05/0.3102, allocations: 23.91 kB / 1.177 GB, free: 4.281 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.794e-05/0.3103, allocations: 19.92 kB / 1.177 GB, free: 4.262 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.157e-05/0.3103, allocations: 4 kB / 1.177 GB, free: 4.258 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.008e-05/0.3103, allocations: 0 / 1.177 GB, free: 4.258 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.501e-05/0.3104, allocations: 8 kB / 1.177 GB, free: 4.25 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.988e-05/0.3104, allocations: 15.92 kB / 1.177 GB, free: 4.234 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001158/0.3106, allocations: 39.81 kB / 1.177 GB, free: 4.195 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3106, allocations: 0 / 1.177 GB, free: 4.195 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.988e-06/0.3106, allocations: 0 / 1.177 GB, free: 4.195 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.3106, allocations: 3.938 kB / 1.177 GB, free: 4.191 MB / 0.92 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.0005392/0.3111, allocations: 355.3 kB / 1.178 GB, free: 3.793 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.3112, allocations: 12.03 kB / 1.178 GB, free: 3.781 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.924e-05/0.3112, allocations: 0.9375 kB / 1.178 GB, free: 3.781 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001771/0.3114, allocations: 176.4 kB / 1.178 GB, free: 3.57 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.5e-05/0.3114, allocations: 8.359 kB / 1.178 GB, free: 3.562 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.39e-05/0.3114, allocations: 384 / 1.178 GB, free: 3.562 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002096/0.3117, allocations: 66.22 kB / 1.178 GB, free: 3.492 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.3117, allocations: 4.188 kB / 1.178 GB, free: 3.488 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.3117, allocations: 3.938 kB / 1.178 GB, free: 3.484 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.3117, allocations: 0 / 1.178 GB, free: 3.484 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002067/0.3119, allocations: 47.89 kB / 1.178 GB, free: 3.438 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004034/0.3123, allocations: 284.7 kB / 1.178 GB, free: 3.109 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.3125, allocations: 42.61 kB / 1.178 GB, free: 3.059 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.559e-05/0.3126, allocations: 28.78 kB / 1.178 GB, free: 3.027 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.3126, allocations: 0 / 1.178 GB, free: 3.027 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.3127, allocations: 38.5 kB / 1.179 GB, free: 2.98 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.3127, allocations: 0 / 1.179 GB, free: 2.98 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003959/0.3131, allocations: 93.58 kB / 1.179 GB, free: 2.883 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.3131, allocations: 51.41 kB / 1.179 GB, free: 2.82 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.439e-05/0.3132, allocations: 105.8 kB / 1.179 GB, free: 2.707 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.3132, allocations: 25.7 kB / 1.179 GB, free: 2.676 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.982e-05/0.3133, allocations: 88.08 kB / 1.179 GB, free: 2.586 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.764e-05/0.3133, allocations: 7.953 kB / 1.179 GB, free: 2.578 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.69e-05/0.3134, allocations: 13.72 kB / 1.179 GB, free: 2.559 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.3135, allocations: 326.9 kB / 1.179 GB, free: 2.23 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.006e-05/0.3136, allocations: 11.98 kB / 1.179 GB, free: 2.219 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.453e-05/0.3137, allocations: 23.92 kB / 1.179 GB, free: 2.195 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001725/0.3139, allocations: 40.81 kB / 1.179 GB, free: 2.152 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.3139, allocations: 0 / 1.179 GB, free: 2.152 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002155/0.3141, allocations: 73.72 kB / 1.179 GB, free: 2.074 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.3141, allocations: 8 kB / 1.179 GB, free: 2.066 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.3142, allocations: 0 / 1.179 GB, free: 2.066 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.3142, allocations: 0 / 1.179 GB, free: 2.066 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.3143, allocations: 7.984 kB / 1.179 GB, free: 2.059 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.3143, allocations: 4 kB / 1.179 GB, free: 2.055 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.927e-05/0.3144, allocations: 11.94 kB / 1.179 GB, free: 2.043 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.3144, allocations: 0 / 1.179 GB, free: 2.043 MB / 0.92 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.0001507/0.3145, allocations: 125.8 kB / 1.179 GB, free: 1.91 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.197e-05/0.3145, allocations: 0 / 1.179 GB, free: 1.91 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.236e-05/0.3146, allocations: 7.109 kB / 1.179 GB, free: 1.902 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.3146, allocations: 0 / 1.179 GB, free: 1.902 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.3146, allocations: 0 / 1.179 GB, free: 1.902 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.3146, allocations: 0 / 1.179 GB, free: 1.902 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001771/0.3148, allocations: 169.6 kB / 1.18 GB, free: 1.688 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3148, allocations: 4 kB / 1.18 GB, free: 1.684 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.735e-05/0.3149, allocations: 4.25 kB / 1.18 GB, free: 1.68 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.3149, allocations: 7.984 kB / 1.18 GB, free: 1.672 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.3149, allocations: 4 kB / 1.18 GB, free: 1.668 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.3149, allocations: 4 kB / 1.18 GB, free: 1.664 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3149, allocations: 0 / 1.18 GB, free: 1.664 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002702/0.3152, allocations: 163.5 kB / 1.18 GB, free: 1.488 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.095e-05/0.3152, allocations: 85 kB / 1.18 GB, free: 1.387 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/0.3153, allocations: 8.031 kB / 1.18 GB, free: 1.379 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.233e-05/0.3153, allocations: 3.984 kB / 1.18 GB, free: 1.375 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.906e-05/0.3154, allocations: 11.94 kB / 1.18 GB, free: 1.363 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.3154, allocations: 7.922 kB / 1.18 GB, free: 1.355 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.397e-05/0.3155, allocations: 79.28 kB / 1.18 GB, free: 1.277 MB / 0.92 GB Notification: Performance of sort global known variables: time 1e-07/0.3155, allocations: 0 / 1.18 GB, free: 1.277 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002138/0.3157, allocations: 8 kB / 1.18 GB, free: 1.27 MB / 0.92 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.000139/0.3158, allocations: 103.2 kB / 1.18 GB, free: 1.156 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002625/0.3161, allocations: 43.89 kB / 1.18 GB, free: 1.113 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3161, allocations: 0 / 1.18 GB, free: 1.113 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 9.867e-05/0.3162, allocations: 23.97 kB / 1.18 GB, free: 1.09 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/0.3165, allocations: 8.469 kB / 1.18 GB, free: 1.086 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000337/0.3168, allocations: 155.1 kB / 1.18 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002961/0.3171, allocations: 0.6768 MB / 1.181 GB, free: 204 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.89e-05/0.3172, allocations: 15.42 kB / 1.181 GB, free: 188 kB / 0.92 GB Notification: Performance of SimCode: time 3.01e-07/0.3172, allocations: 0 / 1.181 GB, free: 188 kB / 0.92 GB Notification: Performance of Templates: time 0.002325/0.3195, allocations: 0.6821 MB / 1.182 GB, free: 15.51 MB / 0.9356 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.271528662997298]