Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.RealScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reaRep.u|reaRep.y.1.|reaRep.y.2.|reaRep.y.3.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reaRep.u|reaRep.y.1.|reaRep.y.2.|reaRep.y.3.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 195.9 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.549/1.549, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.471/2.471, allocations: 390.2 MB / 0.6643 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 67.89 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8854/0.8869, allocations: 140.4 MB / 0.9491 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001839/0.8888, allocations: 0.7119 MB / 0.9498 GB, free: 8.645 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007963/0.8896, allocations: 0.7923 MB / 0.9506 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.626e-05/0.8896, allocations: 0 / 0.9506 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001047/0.8897, allocations: 9.531 kB / 0.9506 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 1.902e-05/0.8898, allocations: 0 / 0.9506 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001105/0.8899, allocations: 9.609 kB / 0.9506 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.682e-05/0.89, allocations: 29.31 kB / 0.9506 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.8901, allocations: 7.125 kB / 0.9506 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.58e-05/0.8901, allocations: 4 kB / 0.9506 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.415e-05/0.8902, allocations: 14.77 kB / 0.9506 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.8902, allocations: 3.656 kB / 0.9506 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.288e-06/0.8902, allocations: 1.312 kB / 0.9506 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.061e-05/0.8903, allocations: 10.7 kB / 0.9507 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.186e-05/0.8903, allocations: 14.25 kB / 0.9507 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.221e-05/0.8904, allocations: 30.12 kB / 0.9507 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.8904, allocations: 3.938 kB / 0.9507 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.294e-06/0.8904, allocations: 1.031 kB / 0.9507 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.8904, allocations: 0 / 0.9507 GB, free: 7.898 MB / 0.7169 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.0003972/0.8908, allocations: 345.6 kB / 0.951 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.8909, allocations: 8.25 kB / 0.951 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.87e-05/0.8909, allocations: 6.562 kB / 0.9511 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/0.891, allocations: 172.8 kB / 0.9512 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.891, allocations: 4.312 kB / 0.9512 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.308e-05/0.8911, allocations: 6.344 kB / 0.9512 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/0.8912, allocations: 56.3 kB / 0.9513 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.8913, allocations: 1.438 kB / 0.9513 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.8913, allocations: 3.938 kB / 0.9513 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.8913, allocations: 1.469 kB / 0.9513 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001473/0.8914, allocations: 35.83 kB / 0.9513 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003494/0.8918, allocations: 281.4 kB / 0.9516 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.565e-05/0.8919, allocations: 32.62 kB / 0.9516 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.17e-05/0.892, allocations: 20.92 kB / 0.9516 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.892, allocations: 1.281 kB / 0.9516 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.68e-05/0.892, allocations: 35.91 kB / 0.9517 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.312e-06/0.892, allocations: 0 / 0.9517 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0002988/0.8923, allocations: 80.83 kB / 0.9518 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/0.8924, allocations: 52.25 kB / 0.9518 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.434e-05/0.8924, allocations: 100 kB / 0.9519 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.577e-06/0.8924, allocations: 25.83 kB / 0.9519 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.253e-05/0.8925, allocations: 89.56 kB / 0.952 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.413e-05/0.8925, allocations: 5.188 kB / 0.952 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.437e-05/0.8925, allocations: 19.06 kB / 0.952 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.976e-05/0.8926, allocations: 316.2 kB / 0.9523 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.024e-05/0.8926, allocations: 12.36 kB / 0.9523 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.932e-05/0.8927, allocations: 16.39 kB / 0.9524 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.8928, allocations: 43.06 kB / 0.9524 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.8928, allocations: 3.938 kB / 0.9524 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001552/0.893, allocations: 62.94 kB / 0.9525 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.893, allocations: 3.719 kB / 0.9525 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.893, allocations: 1.438 kB / 0.9525 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.8931, allocations: 3.984 kB / 0.9525 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.559e-05/0.8932, allocations: 9.406 kB / 0.9525 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.8932, allocations: 0 / 0.9525 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.233e-05/0.8932, allocations: 11.2 kB / 0.9525 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.81e-06/0.8932, allocations: 1.625 kB / 0.9525 GB, free: 6.059 MB / 0.7169 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 5.136e-05/0.8933, allocations: 111.2 kB / 0.9526 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.054e-05/0.8933, allocations: 1.125 kB / 0.9526 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.972e-05/0.8933, allocations: 8.828 kB / 0.9526 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.8933, allocations: 0 / 0.9526 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.8934, allocations: 8 kB / 0.9526 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.8934, allocations: 1.25 kB / 0.9526 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001132/0.8935, allocations: 163.3 kB / 0.9528 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.8935, allocations: 0 / 0.9528 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.558e-05/0.8935, allocations: 8.484 kB / 0.9528 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.8935, allocations: 1.562 kB / 0.9528 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.8936, allocations: 0 / 0.9528 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.8936, allocations: 0 / 0.9528 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.8936, allocations: 1.562 kB / 0.9528 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000186/0.8938, allocations: 164.6 kB / 0.9529 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.453e-05/0.8938, allocations: 81.02 kB / 0.953 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.8938, allocations: 1.469 kB / 0.953 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.985e-05/0.8939, allocations: 6.672 kB / 0.953 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.521e-05/0.8939, allocations: 1.625 kB / 0.953 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-06/0.8939, allocations: 0 / 0.953 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.425e-05/0.894, allocations: 91.7 kB / 0.9531 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.91e-07/0.894, allocations: 0 / 0.9531 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002063/0.8942, allocations: 8.406 kB / 0.9531 GB, free: 5.371 MB / 0.7169 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 9.779e-05/0.8943, allocations: 96.81 kB / 0.9532 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001939/0.8945, allocations: 30.62 kB / 0.9532 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.8945, allocations: 0 / 0.9532 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.509e-05/0.8946, allocations: 26.16 kB / 0.9533 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002972/0.8949, allocations: 15.03 kB / 0.9533 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002734/0.8952, allocations: 119.1 kB / 0.9534 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001235/0.8953, allocations: 0.6833 MB / 0.9541 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.803e-05/0.8953, allocations: 1.062 kB / 0.9541 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.088e-05/0.8954, allocations: 12.5 kB / 0.9541 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of SimCode: time 2.7e-07/0.8954, allocations: 1.125 kB / 0.9541 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of Templates: time 0.002521/0.8979, allocations: 366.1 kB / 0.9544 GB, free: 4.219 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches