Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001588/0.001588, allocations: 108.9 kB / 16.41 MB, free: 6.445 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.001779/0.00178, allocations: 185.5 kB / 17.34 MB, free: 5.738 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.308/1.308, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.441/2.441, allocations: 437 MB / 0.7112 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 67.89 kB / 1.019 GB, free: 9.457 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7903/0.7917, allocations: 151.6 MB / 1.167 GB, free: 3.891 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001932/0.7936, allocations: 0.6344 MB / 1.168 GB, free: 3.258 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.000955/0.7946, allocations: 0.8 MB / 1.169 GB, free: 2.445 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.98e-05/0.7947, allocations: 4 kB / 1.169 GB, free: 2.441 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001017/0.7948, allocations: 7.984 kB / 1.169 GB, free: 2.434 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 2.264e-05/0.7948, allocations: 3.938 kB / 1.169 GB, free: 2.43 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001191/0.795, allocations: 4 kB / 1.169 GB, free: 2.426 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.53e-05/0.7951, allocations: 23.92 kB / 1.169 GB, free: 2.402 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.7952, allocations: 12 kB / 1.169 GB, free: 2.391 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.64e-05/0.7952, allocations: 11.92 kB / 1.169 GB, free: 2.379 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.134e-05/0.7953, allocations: 11.98 kB / 1.169 GB, free: 2.367 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.417e-05/0.7953, allocations: 4 kB / 1.169 GB, free: 2.363 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 6.372e-06/0.7953, allocations: 0 / 1.169 GB, free: 2.363 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 5.641e-05/0.7954, allocations: 15.92 kB / 1.169 GB, free: 2.348 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.753e-05/0.7954, allocations: 15.92 kB / 1.169 GB, free: 2.332 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 9.241e-05/0.7955, allocations: 19.91 kB / 1.169 GB, free: 2.312 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.7955, allocations: 0 / 1.169 GB, free: 2.312 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.064e-06/0.7956, allocations: 4 kB / 1.169 GB, free: 2.309 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.972e-06/0.7956, allocations: 0 / 1.169 GB, free: 2.309 MB / 0.8887 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.0004677/0.796, allocations: 354.6 kB / 1.169 GB, free: 1.918 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/0.7961, allocations: 12.92 kB / 1.169 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.499e-05/0.7961, allocations: 4.891 kB / 1.169 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.7963, allocations: 169.6 kB / 1.169 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.7963, allocations: 384 / 1.169 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.638e-05/0.7963, allocations: 8.359 kB / 1.169 GB, free: 1.691 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001933/0.7965, allocations: 56.67 kB / 1.169 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.7965, allocations: 192 / 1.169 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.7966, allocations: 11.94 kB / 1.169 GB, free: 1.621 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.7966, allocations: 4 kB / 1.169 GB, free: 1.617 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001607/0.7967, allocations: 31.97 kB / 1.169 GB, free: 1.586 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004115/0.7972, allocations: 284.8 kB / 1.17 GB, free: 1.258 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.7973, allocations: 30.56 kB / 1.17 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.68e-05/0.7974, allocations: 24.91 kB / 1.17 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.153e-05/0.7974, allocations: 3.984 kB / 1.17 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.7974, allocations: 30.56 kB / 1.17 GB, free: 1.148 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 2.896e-06/0.7974, allocations: 0 / 1.17 GB, free: 1.148 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.000344/0.7978, allocations: 81.58 kB / 1.17 GB, free: 1.062 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.346e-05/0.7978, allocations: 55.53 kB / 1.17 GB, free: 0.9961 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.649e-05/0.7979, allocations: 109.8 kB / 1.17 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.7979, allocations: 25.7 kB / 1.17 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.166e-05/0.798, allocations: 88.03 kB / 1.17 GB, free: 0.7578 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.477e-05/0.798, allocations: 0 / 1.17 GB, free: 0.7578 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.153e-05/0.798, allocations: 17.72 kB / 1.17 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.999e-05/0.7981, allocations: 318.8 kB / 1.17 GB, free: 424 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.162e-05/0.7982, allocations: 15.98 kB / 1.17 GB, free: 408 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.276e-05/0.7983, allocations: 15.98 kB / 1.171 GB, free: 392 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.7985, allocations: 40.77 kB / 1.171 GB, free: 348 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.7985, allocations: 0 / 1.171 GB, free: 348 kB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001796/0.7987, allocations: 57.72 kB / 1.171 GB, free: 284 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.7987, allocations: 8.031 kB / 1.171 GB, free: 276 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.7987, allocations: 0 / 1.171 GB, free: 276 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.7987, allocations: 0 / 1.171 GB, free: 276 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.225e-05/0.7988, allocations: 15.98 kB / 1.171 GB, free: 260 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.7988, allocations: 0 / 1.171 GB, free: 260 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.717e-05/0.7989, allocations: 7.984 kB / 1.171 GB, free: 252 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.451e-06/0.7989, allocations: 0 / 1.171 GB, free: 252 kB / 0.8887 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.803e-05/0.799, allocations: 109.8 kB / 1.171 GB, free: 132 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.218e-05/0.799, allocations: 11.95 kB / 1.171 GB, free: 120 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.235e-05/0.799, allocations: 3.125 kB / 1.171 GB, free: 112 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.799, allocations: 0 / 1.171 GB, free: 112 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.7991, allocations: 0 / 1.171 GB, free: 112 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.7991, allocations: 0 / 1.171 GB, free: 112 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001819/0.7992, allocations: 169.6 kB / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.7993, allocations: 0 / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.573e-05/0.7993, allocations: 15.86 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.7993, allocations: 0 / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-06/0.7993, allocations: 0 / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.7993, allocations: 4.25 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.7993, allocations: 4 kB / 1.171 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002244/0.7996, allocations: 159.5 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.936e-05/0.7996, allocations: 77.11 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.7996, allocations: 0 / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.239e-05/0.7997, allocations: 4 kB / 1.171 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.923e-05/0.7998, allocations: 8.016 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.7998, allocations: 7.938 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.653e-05/0.7998, allocations: 83.28 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7998, allocations: 0 / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002113/0.8, allocations: 4 kB / 1.171 GB, free: 15.5 MB / 0.9044 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.0001293/0.8002, allocations: 95.25 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002047/0.8004, allocations: 43.89 kB / 1.171 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.8004, allocations: 0 / 1.171 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 7.98e-05/0.8005, allocations: 15.98 kB / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/0.8008, allocations: 10.91 kB / 1.171 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003002/0.8011, allocations: 129.4 kB / 1.172 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002573/0.8014, allocations: 0.6846 MB / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.714e-05/0.8014, allocations: 11.56 kB / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of SimCode: time 3.71e-07/0.8014, allocations: 0 / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of Templates: time 0.001824/0.8032, allocations: 0.577 MB / 1.173 GB, free: 13.88 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches