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.001826/0.001826, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002378/0.002378, allocations: 223.1 kB / 23 MB, free: 4.91 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.478/1.478, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.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.81/2.81, allocations: 476 MB / 0.7707 GB, free: 4.742 MB / 0.6231 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.002161/0.002161, allocations: 63.16 kB / 1.118 GB, free: 8.941 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.3704, allocations: 170 MB / 1.284 GB, free: 3.719 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001982/0.3724, allocations: 0.6659 MB / 1.284 GB, free: 3.051 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001163/0.3735, allocations: 0.8514 MB / 1.285 GB, free: 2.188 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.237e-05/0.3736, allocations: 3.938 kB / 1.285 GB, free: 2.184 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 8.543e-05/0.3737, allocations: 0 / 1.285 GB, free: 2.184 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.38e-05/0.3737, allocations: 3.938 kB / 1.285 GB, free: 2.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001675/0.3738, allocations: 27.91 kB / 1.285 GB, free: 2.152 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.469e-05/0.3739, allocations: 31.92 kB / 1.285 GB, free: 2.121 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.862e-05/0.374, allocations: 11.92 kB / 1.285 GB, free: 2.109 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.127e-05/0.3741, allocations: 12 kB / 1.285 GB, free: 2.098 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.493e-05/0.3741, allocations: 19.86 kB / 1.285 GB, free: 2.078 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.724e-05/0.3742, allocations: 4 kB / 1.285 GB, free: 2.074 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.039e-05/0.3742, allocations: 0 / 1.285 GB, free: 2.074 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.608e-05/0.3742, allocations: 23.91 kB / 1.285 GB, free: 2.051 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.286e-05/0.3743, allocations: 11.94 kB / 1.285 GB, free: 2.039 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.58e-05/0.3743, allocations: 35.88 kB / 1.285 GB, free: 2.004 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.3744, allocations: 0 / 1.285 GB, free: 2.004 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3744, allocations: 0 / 1.285 GB, free: 2.004 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.3744, allocations: 0 / 1.285 GB, free: 2.004 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.0004737/0.3748, allocations: 270.3 kB / 1.286 GB, free: 1.707 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.3749, allocations: 8.031 kB / 1.286 GB, free: 1.699 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.255e-05/0.3749, allocations: 8.891 kB / 1.286 GB, free: 1.691 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.3751, allocations: 118.5 kB / 1.286 GB, free: 1.551 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.3751, allocations: 4.375 kB / 1.286 GB, free: 1.547 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/0.3751, allocations: 4.375 kB / 1.286 GB, free: 1.543 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002007/0.3753, allocations: 66.16 kB / 1.286 GB, free: 1.473 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.3753, allocations: 192 / 1.286 GB, free: 1.473 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.3753, allocations: 7.938 kB / 1.286 GB, free: 1.465 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.3753, allocations: 0 / 1.286 GB, free: 1.465 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000212/0.3755, allocations: 43.95 kB / 1.286 GB, free: 1.422 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003449/0.3759, allocations: 224.4 kB / 1.286 GB, free: 1.172 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/0.376, allocations: 42.5 kB / 1.286 GB, free: 1.121 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.3761, allocations: 24.89 kB / 1.286 GB, free: 1.094 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.3761, allocations: 4 kB / 1.286 GB, free: 1.09 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.3762, allocations: 30.56 kB / 1.286 GB, free: 1.051 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.3762, allocations: 3.938 kB / 1.286 GB, free: 1.047 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003745/0.3765, allocations: 85.64 kB / 1.286 GB, free: 0.957 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.537e-05/0.3766, allocations: 59.34 kB / 1.286 GB, free: 0.8867 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.843e-05/0.3767, allocations: 109.8 kB / 1.287 GB, free: 0.7695 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.3767, allocations: 25.7 kB / 1.287 GB, free: 0.7383 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.913e-05/0.3768, allocations: 88.09 kB / 1.287 GB, free: 0.6484 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.54e-05/0.3768, allocations: 3.953 kB / 1.287 GB, free: 0.6445 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.3768, allocations: 21.7 kB / 1.287 GB, free: 0.6172 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.377, allocations: 314.8 kB / 1.287 GB, free: 308 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.089e-05/0.3771, allocations: 15.98 kB / 1.287 GB, free: 292 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.246e-05/0.3771, allocations: 24.09 kB / 1.287 GB, free: 268 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001713/0.3773, allocations: 48.75 kB / 1.287 GB, free: 216 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3773, allocations: 0 / 1.287 GB, free: 216 kB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002218/0.3775, allocations: 69.59 kB / 1.287 GB, free: 140 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.3776, allocations: 4 kB / 1.287 GB, free: 136 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.3776, allocations: 8.094 kB / 1.287 GB, free: 128 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.3776, allocations: 0 / 1.287 GB, free: 128 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.3777, allocations: 7.984 kB / 1.287 GB, free: 120 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.3777, allocations: 0 / 1.287 GB, free: 120 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.413e-05/0.3777, allocations: 4 kB / 1.287 GB, free: 116 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.3777, allocations: 4.25 kB / 1.287 GB, free: 112 kB / 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.0001553/0.3779, allocations: 117.8 kB / 1.287 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.578e-05/0.3779, allocations: 4 kB / 1.287 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.837e-05/0.3779, allocations: 7.312 kB / 1.287 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.3779, allocations: 8 kB / 1.287 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.378, allocations: 0 / 1.287 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.378, allocations: 0 / 1.287 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001441/0.3781, allocations: 117.2 kB / 1.287 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3781, allocations: 0 / 1.287 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.25e-05/0.3782, allocations: 11.98 kB / 1.287 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.3782, allocations: 0 / 1.287 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-06/0.3782, allocations: 0 / 1.287 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3782, allocations: 0 / 1.287 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3782, allocations: 0 / 1.287 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002844/0.3785, allocations: 179.3 kB / 1.288 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.917e-06/0.3785, allocations: 3.984 kB / 1.288 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.3785, allocations: 3.984 kB / 1.288 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.271e-05/0.3786, allocations: 4 kB / 1.288 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.146e-05/0.3786, allocations: 11.98 kB / 1.288 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.3786, allocations: 0 / 1.288 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.876e-05/0.3787, allocations: 83.27 kB / 1.288 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.3787, allocations: 0 / 1.288 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002209/0.3789, allocations: 4 kB / 1.288 GB, free: 15.51 MB / 0.9981 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.0001197/0.379, allocations: 103.3 kB / 1.288 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002377/0.3793, allocations: 39.95 kB / 1.288 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3793, allocations: 3.938 kB / 1.288 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.769e-05/0.3794, allocations: 27.92 kB / 1.288 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002392/0.3796, allocations: 6.281 kB / 1.288 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003483/0.3799, allocations: 156.8 kB / 1.288 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.777e-05/0.38, allocations: 63.34 kB / 1.288 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.507e-05/0.38, allocations: 11.44 kB / 1.288 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of SimCode: time 2.61e-07/0.38, allocations: 0 / 1.288 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of Templates: time 0.002319/0.3824, allocations: 0.6956 MB / 1.289 GB, free: 14.36 MB / 0.9981 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 -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: 11.220999450888485]