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.007175/0.007175, allocations: 96.2 kB / 15.73 MB, free: 6.039 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.001429/0.00143, allocations: 198.3 kB / 16.68 MB, free: 5.969 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.685/1.685, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.473/2.473, allocations: 390.2 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 63.16 kB / 0.9508 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3826/0.384, allocations: 140.4 MB / 1.088 GB, free: 1.531 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.002401/0.3864, allocations: 0.6442 MB / 1.089 GB, free: 0.8867 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00102/0.3875, allocations: 0.7926 MB / 1.089 GB, free: 84 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.938e-05/0.3876, allocations: 0 / 1.089 GB, free: 84 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001248/0.3877, allocations: 3.938 kB / 1.089 GB, free: 80 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 2.413e-05/0.3877, allocations: 0 / 1.089 GB, free: 80 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001415/0.3879, allocations: 15.92 kB / 1.089 GB, free: 64 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001118/0.388, allocations: 27.91 kB / 1.089 GB, free: 36 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.3881, allocations: 8 kB / 1.089 GB, free: 28 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.137e-05/0.3882, allocations: 7.938 kB / 1.089 GB, free: 20 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.41e-05/0.3883, allocations: 11.98 kB / 1.089 GB, free: 8 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.3883, allocations: 4 kB / 1.089 GB, free: 4 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 2.713e-05/0.3883, allocations: 4 kB / 1.089 GB, free: 0 / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 7.328e-05/0.3884, allocations: 16.05 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.874e-05/0.3885, allocations: 7.938 kB / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000124/0.3886, allocations: 39.75 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.3886, allocations: 0 / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.976e-06/0.3886, allocations: 0 / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.805e-06/0.3886, allocations: 0 / 1.089 GB, free: 15.93 MB / 0.8575 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.0005952/0.3892, allocations: 343.5 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/0.3893, allocations: 12.03 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.914e-05/0.3893, allocations: 4.938 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001959/0.3895, allocations: 172.3 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.3895, allocations: 4.375 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.736e-05/0.3896, allocations: 384 / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002377/0.3898, allocations: 58.23 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.3898, allocations: 192 / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.3899, allocations: 3.938 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.3899, allocations: 0 / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001712/0.39, allocations: 43.89 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005487/0.3906, allocations: 268.9 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/0.3907, allocations: 34.56 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.384e-05/0.3908, allocations: 28.83 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.322e-05/0.3909, allocations: 0 / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/0.3909, allocations: 34.5 kB / 1.09 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.3909, allocations: 0 / 1.09 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0003883/0.3913, allocations: 77.61 kB / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.3914, allocations: 59.52 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.3915, allocations: 101.9 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.3915, allocations: 25.7 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.234e-05/0.3916, allocations: 88.12 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.787e-05/0.3916, allocations: 3.953 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.047e-05/0.3916, allocations: 9.719 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.3918, allocations: 322.8 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.491e-05/0.3919, allocations: 11.98 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.14e-05/0.392, allocations: 23.92 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.3921, allocations: 32.81 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3921, allocations: 3.938 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001816/0.3923, allocations: 65.64 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.3923, allocations: 12.09 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.3923, allocations: 0 / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.3924, allocations: 0 / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.288e-05/0.3925, allocations: 4 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.712e-05/0.3925, allocations: 3.984 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.481e-05/0.3925, allocations: 7.984 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.3925, allocations: 0 / 1.091 GB, free: 13.88 MB / 0.8575 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 8.124e-05/0.3926, allocations: 117.8 kB / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.094e-05/0.3927, allocations: 0 / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.496e-05/0.3927, allocations: 11.11 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.3927, allocations: 8.188 kB / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3927, allocations: 0 / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.3927, allocations: 4 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000169/0.3929, allocations: 157.6 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3929, allocations: 0 / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.982e-05/0.3929, allocations: 11.98 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.393, allocations: 0 / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.393, allocations: 4 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.393, allocations: 3.938 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.393, allocations: 4 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002328/0.3932, allocations: 155.5 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.725e-05/0.3933, allocations: 85.06 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.3933, allocations: 0 / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.228e-05/0.3934, allocations: 7.984 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.261e-05/0.3934, allocations: 4.031 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-06/0.3934, allocations: 0 / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.041e-05/0.3935, allocations: 87.27 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.825e-06/0.3935, allocations: 0 / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002222/0.3937, allocations: 11.88 kB / 1.092 GB, free: 13.13 MB / 0.8575 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 0.0001365/0.3939, allocations: 95.25 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002207/0.3941, allocations: 35.97 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3941, allocations: 0 / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.016e-05/0.3942, allocations: 19.97 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/0.3946, allocations: 9.5 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000398/0.395, allocations: 109.4 kB / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003734/0.3954, allocations: 0.6768 MB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.458e-05/0.3954, allocations: 8.125 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.306e-05/0.3955, allocations: 7.438 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of SimCode: time 2.61e-07/0.3955, allocations: 7.875 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of Templates: time 0.002943/0.3984, allocations: 415.6 kB / 1.093 GB, free: 11.7 MB / 0.8575 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