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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001136/0.001136, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 199.8 kB / 16.79 MB, free: 6.809 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.395/1.395, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.432/2.432, allocations: 390.2 MB / 0.6649 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 59.91 kB / 0.8125 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7843/0.7856, allocations: 140.4 MB / 0.9496 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001764/0.7874, allocations: 0.7029 MB / 0.9503 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006559/0.7881, allocations: 0.7996 MB / 0.9511 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.842e-05/0.7882, allocations: 1.375 kB / 0.9511 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.388e-05/0.7883, allocations: 7.938 kB / 0.9511 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.438e-05/0.7883, allocations: 3.984 kB / 0.9511 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001019/0.7884, allocations: 6.75 kB / 0.9511 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.776e-05/0.7885, allocations: 21.55 kB / 0.9511 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.222e-05/0.7886, allocations: 6.75 kB / 0.9511 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.297e-05/0.7886, allocations: 4.125 kB / 0.9511 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.096e-05/0.7887, allocations: 14.67 kB / 0.9511 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.7887, allocations: 1.375 kB / 0.9511 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.087e-06/0.7887, allocations: 1.375 kB / 0.9511 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.069e-05/0.7888, allocations: 10.73 kB / 0.9511 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.162e-05/0.7888, allocations: 14.62 kB / 0.9511 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.852e-05/0.7889, allocations: 25.44 kB / 0.9512 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.7889, allocations: 0 / 0.9512 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.31e-07/0.7889, allocations: 0 / 0.9512 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.7889, allocations: 0 / 0.9512 GB, free: 7.879 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.0003704/0.7893, allocations: 341.3 kB / 0.9515 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.7893, allocations: 8.906 kB / 0.9515 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.312e-05/0.7893, allocations: 6.062 kB / 0.9515 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.7895, allocations: 183.6 kB / 0.9517 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.7895, allocations: 2.781 kB / 0.9517 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.197e-06/0.7895, allocations: 1.312 kB / 0.9517 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001801/0.7897, allocations: 60.33 kB / 0.9517 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.7897, allocations: 1.375 kB / 0.9518 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.7897, allocations: 7.938 kB / 0.9518 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.7897, allocations: 1.156 kB / 0.9518 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001605/0.7899, allocations: 39.61 kB / 0.9518 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003555/0.7902, allocations: 277.8 kB / 0.9521 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.7903, allocations: 28.38 kB / 0.9521 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.608e-05/0.7904, allocations: 25.59 kB / 0.9521 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.291e-05/0.7905, allocations: 0.8125 kB / 0.9521 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.562e-05/0.7905, allocations: 32 kB / 0.9521 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.7905, allocations: 0 / 0.9521 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0003004/0.7908, allocations: 76.55 kB / 0.9522 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.481e-05/0.7908, allocations: 52.72 kB / 0.9523 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.575e-05/0.7909, allocations: 108.3 kB / 0.9524 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.604e-06/0.7909, allocations: 25.7 kB / 0.9524 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.946e-05/0.7909, allocations: 89.23 kB / 0.9525 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.473e-05/0.7909, allocations: 5.25 kB / 0.9525 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.518e-05/0.791, allocations: 14.86 kB / 0.9525 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.181e-05/0.791, allocations: 316.1 kB / 0.9528 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.71e-05/0.7911, allocations: 16.58 kB / 0.9528 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.565e-05/0.7912, allocations: 17.48 kB / 0.9528 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.7913, allocations: 37.78 kB / 0.9529 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.7913, allocations: 0 / 0.9529 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001629/0.7915, allocations: 63.14 kB / 0.9529 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.7915, allocations: 4.031 kB / 0.9529 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.7915, allocations: 4.094 kB / 0.9529 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.7915, allocations: 1.5 kB / 0.9529 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.807e-05/0.7916, allocations: 8.797 kB / 0.9529 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.7916, allocations: 0 / 0.9529 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.323e-05/0.7917, allocations: 6.984 kB / 0.953 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.7917, allocations: 1.375 kB / 0.953 GB, free: 6.043 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 4.926e-05/0.7917, allocations: 116.4 kB / 0.9531 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.2e-05/0.7918, allocations: 1.156 kB / 0.9531 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.585e-05/0.7918, allocations: 7.125 kB / 0.9531 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.7918, allocations: 0.9688 kB / 0.9531 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.7918, allocations: 0 / 0.9531 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.7918, allocations: 4.984 kB / 0.9531 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001098/0.7919, allocations: 160 kB / 0.9532 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.7919, allocations: 0 / 0.9532 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.995e-05/0.792, allocations: 8.297 kB / 0.9532 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.792, allocations: 1.375 kB / 0.9532 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.792, allocations: 256 / 0.9532 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.792, allocations: 7.938 kB / 0.9532 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.792, allocations: 5.344 kB / 0.9533 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001817/0.7922, allocations: 163.7 kB / 0.9534 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.792e-05/0.7922, allocations: 82.83 kB / 0.9535 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.22e-05/0.7922, allocations: 0 / 0.9535 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.064e-05/0.7923, allocations: 11.56 kB / 0.9535 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.111e-05/0.7924, allocations: 5.625 kB / 0.9535 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.7924, allocations: 0 / 0.9535 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.13e-05/0.7924, allocations: 80.09 kB / 0.9536 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7924, allocations: 3.938 kB / 0.9536 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002098/0.7926, allocations: 7.312 kB / 0.9536 GB, free: 5.348 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.588e-05/0.7927, allocations: 105.8 kB / 0.9537 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001924/0.7929, allocations: 34 kB / 0.9537 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.7929, allocations: 0 / 0.9537 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.531e-05/0.793, allocations: 18.73 kB / 0.9537 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002814/0.7933, allocations: 10.89 kB / 0.9538 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002559/0.7935, allocations: 135.9 kB / 0.9539 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001208/0.7937, allocations: 0.683 MB / 0.9546 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.448e-05/0.7937, allocations: 7.438 kB / 0.9546 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of SimCode: time 3.11e-07/0.7937, allocations: 0 / 0.9546 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of Templates: time 0.001814/0.7955, allocations: 0.5647 MB / 0.9551 GB, free: 4.086 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/jenkins1/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