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.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.001629/0.001629, allocations: 114.8 kB / 18.89 MB, free: 2.898 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.001906/0.001906, allocations: 197.8 kB / 22.17 MB, free: 5.211 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.533/1.533, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.001/3.001, allocations: 476.7 MB / 0.7645 GB, free: 10.12 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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 0.002054/0.002054, allocations: 76.92 kB / 1.109 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4092/0.4112, allocations: 168.7 MB / 1.274 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.002141/0.4134, allocations: 0.662 MB / 1.275 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001195/0.4146, allocations: 0.8277 MB / 1.276 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.923e-05/0.4146, allocations: 0 / 1.276 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001217/0.4148, allocations: 11.92 kB / 1.276 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.421e-05/0.4148, allocations: 3.938 kB / 1.276 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001691/0.415, allocations: 15.98 kB / 1.276 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001043/0.4151, allocations: 39.91 kB / 1.276 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.4152, allocations: 11.94 kB / 1.276 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.9e-05/0.4152, allocations: 15.92 kB / 1.276 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.947e-05/0.4153, allocations: 15.92 kB / 1.276 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.4153, allocations: 4 kB / 1.276 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.265e-05/0.4153, allocations: 4 kB / 1.276 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.104e-05/0.4154, allocations: 7.984 kB / 1.276 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.671e-05/0.4154, allocations: 27.8 kB / 1.276 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001245/0.4156, allocations: 31.88 kB / 1.276 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.862e-06/0.4156, allocations: 4 kB / 1.276 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.082e-06/0.4156, allocations: 0 / 1.276 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.421e-06/0.4156, allocations: 0 / 1.276 GB, free: 9.578 MB / 0.9825 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.0005716/0.4161, allocations: 359.3 kB / 1.276 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.4162, allocations: 8.031 kB / 1.276 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.879e-05/0.4162, allocations: 4.938 kB / 1.276 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001972/0.4164, allocations: 172.3 kB / 1.276 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.4164, allocations: 4.375 kB / 1.276 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.022e-05/0.4165, allocations: 384 / 1.276 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002231/0.4167, allocations: 66.22 kB / 1.276 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.4167, allocations: 4.188 kB / 1.276 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.4167, allocations: 7.938 kB / 1.276 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.4167, allocations: 3.984 kB / 1.276 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002024/0.4169, allocations: 47.89 kB / 1.276 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004441/0.4174, allocations: 284.8 kB / 1.277 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001499/0.4175, allocations: 42.56 kB / 1.277 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.489e-05/0.4176, allocations: 20.89 kB / 1.277 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.4176, allocations: 0 / 1.277 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/0.4177, allocations: 46.44 kB / 1.277 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.4177, allocations: 0 / 1.277 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0004082/0.4181, allocations: 89.59 kB / 1.277 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/0.4181, allocations: 51.41 kB / 1.277 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.33e-05/0.4182, allocations: 105.8 kB / 1.277 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/0.4182, allocations: 25.7 kB / 1.277 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.168e-05/0.4183, allocations: 88.09 kB / 1.277 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.338e-05/0.4183, allocations: 4 kB / 1.277 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.184e-05/0.4183, allocations: 17.7 kB / 1.277 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.4185, allocations: 322.9 kB / 1.277 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.046e-05/0.4186, allocations: 11.98 kB / 1.277 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.507e-05/0.4187, allocations: 27.91 kB / 1.277 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001743/0.4188, allocations: 40.81 kB / 1.277 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.4188, allocations: 0 / 1.277 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002226/0.4191, allocations: 77.67 kB / 1.278 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.4191, allocations: 8 kB / 1.278 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.4191, allocations: 0 / 1.278 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.4191, allocations: 0 / 1.278 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.4192, allocations: 11.98 kB / 1.278 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.4192, allocations: 0 / 1.278 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.502e-05/0.4193, allocations: 4 kB / 1.278 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.4193, allocations: 3.938 kB / 1.278 GB, free: 7.43 MB / 0.9825 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.0001715/0.4195, allocations: 125.7 kB / 1.278 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.631e-05/0.4195, allocations: 4 kB / 1.278 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.776e-05/0.4195, allocations: 3.125 kB / 1.278 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.4195, allocations: 0 / 1.278 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.4195, allocations: 0 / 1.278 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.4195, allocations: 3.938 kB / 1.278 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001941/0.4197, allocations: 169.6 kB / 1.278 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.4197, allocations: 4 kB / 1.278 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.167e-05/0.4198, allocations: 7.984 kB / 1.278 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.4198, allocations: 4 kB / 1.278 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.4198, allocations: 0 / 1.278 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.4198, allocations: 4.25 kB / 1.278 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4198, allocations: 0 / 1.278 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002736/0.4201, allocations: 163.5 kB / 1.278 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.418e-05/0.4201, allocations: 89.05 kB / 1.278 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.799e-05/0.4202, allocations: 8.031 kB / 1.278 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.147e-05/0.4202, allocations: 0 / 1.278 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.95e-05/0.4203, allocations: 7.984 kB / 1.278 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-06/0.4203, allocations: 3.938 kB / 1.278 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.821e-05/0.4203, allocations: 83.28 kB / 1.278 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.4203, allocations: 0 / 1.278 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002213/0.4206, allocations: 8 kB / 1.278 GB, free: 6.664 MB / 0.9825 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.0001588/0.4207, allocations: 103.8 kB / 1.278 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002549/0.421, allocations: 47.89 kB / 1.278 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.421, allocations: 0 / 1.278 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.654e-05/0.4211, allocations: 15.98 kB / 1.278 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002687/0.4213, allocations: 8 kB / 1.278 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004242/0.4218, allocations: 137.5 kB / 1.279 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003542/0.4221, allocations: 0.6807 MB / 1.279 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.447e-05/0.4222, allocations: 0 / 1.279 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.752e-05/0.4222, allocations: 15.44 kB / 1.279 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.4222, allocations: 0 / 1.279 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of Templates: time 0.003527/0.4257, allocations: 0.6276 MB / 1.28 GB, free: 4.98 MB / 0.9825 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 cvode -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_2/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: 9.18628159398213]