Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001384/0.001384, allocations: 105.1 kB / 15.98 MB, free: 5.891 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.001228/0.001228, allocations: 187.6 kB / 16.91 MB, free: 5.746 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.366/1.366, allocations: 222.9 MB / 240.6 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.868/2.868, allocations: 469.4 MB / 0.7423 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 64.52 kB / 0.9083 GB, free: 34.71 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3784/0.3798, allocations: 159.1 MB / 1.064 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.002404/0.3822, allocations: 0.7052 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001091/0.3833, allocations: 0.7939 MB / 1.065 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.206e-05/0.3834, allocations: 3.938 kB / 1.065 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001133/0.3836, allocations: 3.938 kB / 1.065 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 2.775e-05/0.3836, allocations: 4 kB / 1.065 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001278/0.3837, allocations: 8 kB / 1.065 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.596e-05/0.3838, allocations: 23.92 kB / 1.065 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.3839, allocations: 4 kB / 1.065 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.308e-05/0.384, allocations: 19.91 kB / 1.065 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.753e-05/0.3841, allocations: 11.94 kB / 1.065 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.3841, allocations: 4 kB / 1.065 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.884e-06/0.3841, allocations: 0 / 1.065 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.754e-05/0.3842, allocations: 7.984 kB / 1.065 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.88e-05/0.3842, allocations: 11.94 kB / 1.065 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.371e-05/0.3843, allocations: 27.95 kB / 1.065 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.3843, allocations: 0 / 1.065 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.425e-06/0.3843, allocations: 0 / 1.065 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.157e-06/0.3843, allocations: 0 / 1.065 GB, free: 13.27 MB / 0.8262 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.0004943/0.3848, allocations: 347.6 kB / 1.066 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.3849, allocations: 8.031 kB / 1.066 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.643e-05/0.3849, allocations: 8.938 kB / 1.066 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/0.3851, allocations: 164.4 kB / 1.066 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.3851, allocations: 4.375 kB / 1.066 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.318e-05/0.3851, allocations: 4.375 kB / 1.066 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002109/0.3853, allocations: 58.23 kB / 1.066 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.3854, allocations: 4.125 kB / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.3854, allocations: 3.938 kB / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.3854, allocations: 0 / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001622/0.3856, allocations: 39.95 kB / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004394/0.386, allocations: 284.8 kB / 1.066 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000116/0.3861, allocations: 30.56 kB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.492e-05/0.3862, allocations: 20.89 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.596e-05/0.3863, allocations: 0 / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.3863, allocations: 34.56 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/0.3863, allocations: 7.938 kB / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0003362/0.3866, allocations: 73.64 kB / 1.066 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/0.3867, allocations: 59.39 kB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.671e-05/0.3868, allocations: 97.86 kB / 1.067 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.3868, allocations: 25.83 kB / 1.067 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.948e-05/0.3869, allocations: 99.97 kB / 1.067 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.578e-05/0.3869, allocations: 0 / 1.067 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.42e-05/0.3869, allocations: 9.719 kB / 1.067 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.387, allocations: 322.8 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.484e-05/0.3871, allocations: 11.98 kB / 1.067 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.713e-05/0.3872, allocations: 19.92 kB / 1.067 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/0.3873, allocations: 40.81 kB / 1.067 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3873, allocations: 0 / 1.067 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001795/0.3875, allocations: 61.66 kB / 1.067 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.3876, allocations: 8 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3876, allocations: 0 / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.3876, allocations: 0 / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.35e-05/0.3877, allocations: 8.031 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.3877, allocations: 0 / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.511e-05/0.3877, allocations: 7.984 kB / 1.067 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.66e-06/0.3878, allocations: 0 / 1.067 GB, free: 11.22 MB / 0.8262 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 7.995e-05/0.3878, allocations: 117.8 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.289e-05/0.3879, allocations: 3.906 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.037e-05/0.3879, allocations: 7.109 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.798e-06/0.3879, allocations: 4 kB / 1.067 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.3879, allocations: 4 kB / 1.067 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.3879, allocations: 3.938 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001662/0.3881, allocations: 161.6 kB / 1.067 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.3881, allocations: 0 / 1.067 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.67e-05/0.3882, allocations: 15.92 kB / 1.067 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.3882, allocations: 0 / 1.067 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.3882, allocations: 0 / 1.067 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3882, allocations: 0 / 1.067 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3882, allocations: 256 / 1.067 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002219/0.3884, allocations: 163.5 kB / 1.068 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.331e-05/0.3885, allocations: 81.11 kB / 1.068 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.3885, allocations: 4 kB / 1.068 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.309e-05/0.3886, allocations: 7.984 kB / 1.068 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.933e-05/0.3886, allocations: 0 / 1.068 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.3886, allocations: 0 / 1.068 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.632e-05/0.3887, allocations: 87.3 kB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3887, allocations: 4 kB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002141/0.3889, allocations: 4 kB / 1.068 GB, free: 10.47 MB / 0.8262 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.0001426/0.389, allocations: 95.25 kB / 1.068 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002065/0.3893, allocations: 35.91 kB / 1.068 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3893, allocations: 0 / 1.068 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.196e-05/0.3894, allocations: 24.03 kB / 1.068 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003299/0.3897, allocations: 11.86 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003263/0.39, allocations: 143.2 kB / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002574/0.3903, allocations: 0.6768 MB / 1.069 GB, free: 9.426 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.853e-05/0.3903, allocations: 15.38 kB / 1.069 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of SimCode: time 6.01e-07/0.3903, allocations: 0 / 1.069 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of Templates: time 0.002217/0.3926, allocations: 0.5637 MB / 1.069 GB, free: 8.855 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches