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.01065/0.01065, allocations: 100.1 kB / 15.73 MB, free: 6.012 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.002303/0.002303, allocations: 187 kB / 16.67 MB, free: 5.949 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.752/2.752, allocations: 461.9 MB / 0.7348 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 59.91 kB / 1.054 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3778/0.3792, allocations: 157.4 MB / 1.208 GB, free: 9.68 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.002294/0.3815, allocations: 0.6441 MB / 1.208 GB, free: 9.035 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001083/0.3826, allocations: 0.7923 MB / 1.209 GB, free: 8.23 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.852e-05/0.3827, allocations: 0 / 1.209 GB, free: 8.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001077/0.3829, allocations: 3.938 kB / 1.209 GB, free: 8.227 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 2.012e-05/0.3829, allocations: 3.938 kB / 1.209 GB, free: 8.223 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001246/0.383, allocations: 11.98 kB / 1.209 GB, free: 8.211 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.911e-05/0.3831, allocations: 19.98 kB / 1.209 GB, free: 8.191 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.3832, allocations: 8 kB / 1.209 GB, free: 8.184 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.097e-05/0.3833, allocations: 11.88 kB / 1.209 GB, free: 8.172 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.841e-05/0.3834, allocations: 11.98 kB / 1.209 GB, free: 8.16 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.3834, allocations: 4 kB / 1.209 GB, free: 8.156 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.915e-06/0.3834, allocations: 4 kB / 1.209 GB, free: 8.152 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.533e-05/0.3835, allocations: 19.91 kB / 1.209 GB, free: 8.133 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.488e-05/0.3835, allocations: 7.938 kB / 1.209 GB, free: 8.125 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.742e-05/0.3836, allocations: 35.83 kB / 1.209 GB, free: 8.09 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3836, allocations: 0 / 1.209 GB, free: 8.09 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.014e-06/0.3836, allocations: 0 / 1.209 GB, free: 8.09 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.698e-06/0.3836, allocations: 0 / 1.209 GB, free: 8.09 MB / 0.9669 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.0005551/0.3842, allocations: 343.4 kB / 1.21 GB, free: 7.703 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.3843, allocations: 12.62 kB / 1.21 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.75e-05/0.3843, allocations: 8.938 kB / 1.21 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00018/0.3845, allocations: 168.3 kB / 1.21 GB, free: 7.48 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.3845, allocations: 4.375 kB / 1.21 GB, free: 7.477 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.768e-06/0.3845, allocations: 384 / 1.21 GB, free: 7.477 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002165/0.3847, allocations: 66.16 kB / 1.21 GB, free: 7.406 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.3848, allocations: 192 / 1.21 GB, free: 7.406 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.3848, allocations: 3.938 kB / 1.21 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.3848, allocations: 0 / 1.21 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001835/0.385, allocations: 39.95 kB / 1.21 GB, free: 7.363 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004786/0.3855, allocations: 268.9 kB / 1.21 GB, free: 7.051 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/0.3856, allocations: 38.5 kB / 1.21 GB, free: 7.004 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.959e-05/0.3857, allocations: 20.91 kB / 1.21 GB, free: 6.98 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.3857, allocations: 3.984 kB / 1.21 GB, free: 6.977 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.3857, allocations: 34.5 kB / 1.21 GB, free: 6.934 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/0.3857, allocations: 0 / 1.21 GB, free: 6.934 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0003715/0.3861, allocations: 77.56 kB / 1.21 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.205e-05/0.3862, allocations: 59.39 kB / 1.21 GB, free: 6.781 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.875e-05/0.3863, allocations: 101.9 kB / 1.21 GB, free: 6.672 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.3863, allocations: 29.7 kB / 1.21 GB, free: 6.637 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.38e-05/0.3864, allocations: 92.06 kB / 1.211 GB, free: 6.543 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.665e-05/0.3864, allocations: 0 / 1.211 GB, free: 6.543 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.041e-05/0.3864, allocations: 9.719 kB / 1.211 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.3865, allocations: 322.8 kB / 1.211 GB, free: 6.203 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.083e-05/0.3866, allocations: 11.98 kB / 1.211 GB, free: 6.191 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.007e-05/0.3867, allocations: 19.98 kB / 1.211 GB, free: 6.172 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001442/0.3869, allocations: 32.81 kB / 1.211 GB, free: 6.137 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3869, allocations: 0 / 1.211 GB, free: 6.137 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001864/0.3871, allocations: 65.56 kB / 1.211 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.3871, allocations: 9.562 kB / 1.211 GB, free: 6.059 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.3871, allocations: 4.094 kB / 1.211 GB, free: 6.055 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.3871, allocations: 3.938 kB / 1.211 GB, free: 6.051 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.789e-05/0.3872, allocations: 4 kB / 1.211 GB, free: 6.047 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.3872, allocations: 0 / 1.211 GB, free: 6.047 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.498e-05/0.3873, allocations: 7.984 kB / 1.211 GB, free: 6.039 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.3873, allocations: 256 / 1.211 GB, free: 6.039 MB / 0.9669 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.396e-05/0.3874, allocations: 117.8 kB / 1.211 GB, free: 5.914 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.313e-05/0.3874, allocations: 3.938 kB / 1.211 GB, free: 5.91 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.231e-05/0.3874, allocations: 11.11 kB / 1.211 GB, free: 5.902 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.3874, allocations: 4 kB / 1.211 GB, free: 5.898 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.3875, allocations: 4 kB / 1.211 GB, free: 5.895 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.3875, allocations: 0 / 1.211 GB, free: 5.895 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002184/0.3877, allocations: 157.6 kB / 1.211 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.3877, allocations: 0 / 1.211 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.555e-05/0.3878, allocations: 11.98 kB / 1.211 GB, free: 5.68 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.3878, allocations: 0 / 1.211 GB, free: 5.68 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.3878, allocations: 0 / 1.211 GB, free: 5.68 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3878, allocations: 0 / 1.211 GB, free: 5.68 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3878, allocations: 4 kB / 1.211 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000251/0.3881, allocations: 167.3 kB / 1.212 GB, free: 5.496 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.896e-05/0.3881, allocations: 81.11 kB / 1.212 GB, free: 5.398 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.3881, allocations: 0 / 1.212 GB, free: 5.398 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.158e-05/0.3882, allocations: 7.984 kB / 1.212 GB, free: 5.391 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.782e-05/0.3882, allocations: 4.031 kB / 1.212 GB, free: 5.387 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.524e-06/0.3883, allocations: 0 / 1.212 GB, free: 5.387 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.32e-05/0.3883, allocations: 87.27 kB / 1.212 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3883, allocations: 0 / 1.212 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002127/0.3885, allocations: 7.906 kB / 1.212 GB, free: 5.293 MB / 0.9669 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.0001304/0.3887, allocations: 95.25 kB / 1.212 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002094/0.3889, allocations: 35.97 kB / 1.212 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3889, allocations: 0 / 1.212 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.283e-05/0.389, allocations: 19.97 kB / 1.212 GB, free: 5.133 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002664/0.3892, allocations: 7.938 kB / 1.212 GB, free: 5.125 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003399/0.3896, allocations: 117.4 kB / 1.212 GB, free: 4.98 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002877/0.3899, allocations: 0.6807 MB / 1.213 GB, free: 4.273 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.363e-05/0.3899, allocations: 128 / 1.213 GB, free: 4.273 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.872e-05/0.39, allocations: 15.44 kB / 1.213 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of SimCode: time 2.3e-07/0.39, allocations: 0 / 1.213 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of Templates: time 0.002813/0.3928, allocations: 444.4 kB / 1.213 GB, free: 3.828 MB / 0.9669 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/jenkins/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