Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.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.001351/0.001351, allocations: 80.2 kB / 19.76 MB, free: 2.027 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.001579/0.001579, allocations: 158.4 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.445/1.445, 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 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.803/2.803, allocations: 377.9 MB / 0.6228 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.RealScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|reaRep.u|reaRep.y.1.|reaRep.y.2.|reaRep.y.3.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|reaRep.u|reaRep.y.1.|reaRep.y.2.|reaRep.y.3.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") [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.002208/0.002208, allocations: 67.89 kB / 0.9819 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9415/0.9437, allocations: 176.1 MB / 1.154 GB, free: 33.28 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.0017/0.9454, allocations: 0.6577 MB / 1.155 GB, free: 32.88 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0007641/0.9462, allocations: 0.8167 MB / 1.155 GB, free: 32.26 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.651e-05/0.9463, allocations: 0 / 1.155 GB, free: 32.26 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 9.338e-05/0.9463, allocations: 3.938 kB / 1.155 GB, free: 32.25 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 2.121e-05/0.9464, allocations: 3.062 kB / 1.155 GB, free: 32.25 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001075/0.9465, allocations: 11.09 kB / 1.155 GB, free: 32.25 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 7.314e-05/0.9465, allocations: 30.53 kB / 1.155 GB, free: 32.23 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.9467, allocations: 3.062 kB / 1.155 GB, free: 32.23 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 4.489e-05/0.9467, allocations: 14.06 kB / 1.155 GB, free: 32.22 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 5.049e-05/0.9467, allocations: 10.09 kB / 1.155 GB, free: 32.22 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.9468, allocations: 7.078 kB / 1.155 GB, free: 32.21 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 8.917e-06/0.9468, allocations: 2.906 kB / 1.155 GB, free: 32.21 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 5.163e-05/0.9468, allocations: 7.422 kB / 1.155 GB, free: 32.21 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.922e-05/0.9469, allocations: 11.03 kB / 1.155 GB, free: 32.2 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 8.213e-05/0.9469, allocations: 31.17 kB / 1.155 GB, free: 32.19 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.9469, allocations: 0 / 1.155 GB, free: 32.19 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.272e-06/0.9469, allocations: 4 kB / 1.155 GB, free: 32.19 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.947, allocations: 0 / 1.155 GB, free: 32.19 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000363/0.9473, allocations: 266.9 kB / 1.156 GB, free: 31.92 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.9474, allocations: 11.72 kB / 1.156 GB, free: 31.92 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.831e-05/0.9474, allocations: 8.891 kB / 1.156 GB, free: 31.91 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.9475, allocations: 109.7 kB / 1.156 GB, free: 31.79 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.437e-06/0.9475, allocations: 3.375 kB / 1.156 GB, free: 31.79 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.161e-05/0.9475, allocations: 384 / 1.156 GB, free: 31.79 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.9477, allocations: 59.89 kB / 1.156 GB, free: 31.75 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.9477, allocations: 4.188 kB / 1.156 GB, free: 31.74 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.9477, allocations: 6.906 kB / 1.156 GB, free: 31.74 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.748e-06/0.9477, allocations: 0 / 1.156 GB, free: 31.74 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00015/0.9478, allocations: 39.03 kB / 1.156 GB, free: 31.73 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002923/0.9481, allocations: 214.3 kB / 1.156 GB, free: 31.52 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/0.9482, allocations: 34.94 kB / 1.156 GB, free: 31.49 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.952e-05/0.9483, allocations: 29.34 kB / 1.156 GB, free: 31.47 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.091e-05/0.9483, allocations: 0 / 1.156 GB, free: 31.47 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.55e-05/0.9484, allocations: 37.31 kB / 1.156 GB, free: 31.43 MB / 1.076 GB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.9484, allocations: 0 / 1.156 GB, free: 31.43 MB / 1.076 GB Notification: Performance of matching and sorting (n=1): time 0.0003025/0.9487, allocations: 74.69 kB / 1.156 GB, free: 31.39 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.036e-05/0.9487, allocations: 51.41 kB / 1.156 GB, free: 31.33 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.029e-05/0.9487, allocations: 103.2 kB / 1.156 GB, free: 31.23 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.033e-06/0.9487, allocations: 29.83 kB / 1.157 GB, free: 31.2 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.475e-05/0.9488, allocations: 90.83 kB / 1.157 GB, free: 31.11 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.352e-05/0.9488, allocations: 3.953 kB / 1.157 GB, free: 31.1 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.474e-05/0.9488, allocations: 12.47 kB / 1.157 GB, free: 31.09 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.942e-05/0.9488, allocations: 314.1 kB / 1.157 GB, free: 30.77 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.566e-05/0.9489, allocations: 19.52 kB / 1.157 GB, free: 30.77 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.63e-05/0.949, allocations: 17.66 kB / 1.157 GB, free: 30.77 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000135/0.9491, allocations: 39.12 kB / 1.157 GB, free: 30.75 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.9491, allocations: 3.938 kB / 1.157 GB, free: 30.75 MB / 1.076 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001619/0.9493, allocations: 64.69 kB / 1.157 GB, free: 30.71 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.9493, allocations: 4.531 kB / 1.157 GB, free: 30.71 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.9493, allocations: 2.875 kB / 1.157 GB, free: 30.71 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.9493, allocations: 0 / 1.157 GB, free: 30.71 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.79e-05/0.9494, allocations: 6.047 kB / 1.157 GB, free: 30.71 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.9494, allocations: 3.094 kB / 1.157 GB, free: 30.71 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.24e-05/0.9494, allocations: 10.3 kB / 1.157 GB, free: 30.7 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.9494, allocations: 0 / 1.157 GB, free: 30.7 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 4.508e-05/0.9495, allocations: 117.2 kB / 1.157 GB, free: 30.58 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.118e-05/0.9495, allocations: 0 / 1.157 GB, free: 30.58 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.965e-05/0.9495, allocations: 13.12 kB / 1.157 GB, free: 30.57 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.9495, allocations: 0 / 1.157 GB, free: 30.57 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.9495, allocations: 256 / 1.157 GB, free: 30.57 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-06/0.9495, allocations: 0 / 1.157 GB, free: 30.57 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.866e-05/0.9496, allocations: 118.7 kB / 1.157 GB, free: 30.43 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.9496, allocations: 0 / 1.157 GB, free: 30.43 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.027e-05/0.9497, allocations: 13.08 kB / 1.157 GB, free: 30.43 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.9497, allocations: 0 / 1.157 GB, free: 30.43 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.231e-06/0.9497, allocations: 0 / 1.157 GB, free: 30.43 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.9497, allocations: 0 / 1.157 GB, free: 30.43 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.9497, allocations: 0 / 1.157 GB, free: 30.43 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001874/0.9499, allocations: 164.5 kB / 1.157 GB, free: 30.29 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 5.61e-06/0.9499, allocations: 0 / 1.157 GB, free: 30.29 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.064e-05/0.9499, allocations: 2.906 kB / 1.157 GB, free: 30.29 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.167e-05/0.95, allocations: 10.25 kB / 1.157 GB, free: 30.28 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.673e-05/0.95, allocations: 3.188 kB / 1.158 GB, free: 30.28 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.017e-06/0.95, allocations: 10.67 kB / 1.158 GB, free: 30.27 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.001e-05/0.95, allocations: 82.16 kB / 1.158 GB, free: 30.2 MB / 1.076 GB Notification: Performance of sort global known variables: time 6e-08/0.95, allocations: 0 / 1.158 GB, free: 30.2 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002163/0.9502, allocations: 5.656 kB / 1.158 GB, free: 30.2 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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 7.81e-05/0.9503, allocations: 94.38 kB / 1.158 GB, free: 30.11 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000192/0.9505, allocations: 35.45 kB / 1.158 GB, free: 30.1 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.9505, allocations: 2.906 kB / 1.158 GB, free: 30.1 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 7.735e-05/0.9506, allocations: 19.38 kB / 1.158 GB, free: 30.09 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/0.9509, allocations: 6.969 kB / 1.158 GB, free: 30.09 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002322/0.9511, allocations: 103.4 kB / 1.158 GB, free: 29.98 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.149e-05/0.9511, allocations: 72.78 kB / 1.158 GB, free: 29.91 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.655e-05/0.9512, allocations: 3 kB / 1.158 GB, free: 29.91 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.171e-05/0.9512, allocations: 12.62 kB / 1.158 GB, free: 29.89 MB / 1.076 GB Notification: Performance of SimCode: time 3e-07/0.9512, allocations: 0 / 1.158 GB, free: 29.89 MB / 1.076 GB Notification: Performance of Templates: time 0.002566/0.9538, allocations: 447.6 kB / 1.158 GB, free: 29.82 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.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.93445611197967]