Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.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.IntegerScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.y|reaToInt.y|intRep.y.1.|intRep.y.2.|intRep.y.3.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.y|reaToInt.y|intRep.y.1.|intRep.y.2.|intRep.y.3.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 108 kB / 15.61 MB, free: 152 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.001414/0.001414, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.405/1.405, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.389/2.389, allocations: 390.2 MB / 0.6646 GB, free: 444 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 67.89 kB / 0.8125 GB, free: 14.45 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8022/0.8035, allocations: 140.3 MB / 0.9496 GB, free: 9.199 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.00214/0.8057, allocations: 0.6607 MB / 0.9502 GB, free: 8.691 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008498/0.8066, allocations: 0.8362 MB / 0.951 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.899e-05/0.8066, allocations: 0 / 0.951 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.619e-05/0.8067, allocations: 3.938 kB / 0.9511 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 1.643e-05/0.8067, allocations: 9.25 kB / 0.9511 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001784/0.8069, allocations: 20.11 kB / 0.9511 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.531e-05/0.807, allocations: 33.67 kB / 0.9511 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.8071, allocations: 12.09 kB / 0.9511 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.166e-05/0.8072, allocations: 17.23 kB / 0.9511 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.9e-05/0.8073, allocations: 16.95 kB / 0.9512 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.167e-05/0.8073, allocations: 3.219 kB / 0.9512 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.24e-05/0.8073, allocations: 3.219 kB / 0.9512 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.578e-05/0.8074, allocations: 6.875 kB / 0.9512 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.77e-05/0.8074, allocations: 23.16 kB / 0.9512 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.712e-05/0.8075, allocations: 34.73 kB / 0.9512 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.8075, allocations: 1.156 kB / 0.9512 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.753e-06/0.8075, allocations: 0 / 0.9512 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.8075, 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004101/0.8079, allocations: 350.7 kB / 0.9516 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.808, allocations: 9.75 kB / 0.9516 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.67e-05/0.808, allocations: 10.12 kB / 0.9516 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.8081, allocations: 180.7 kB / 0.9517 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.8082, allocations: 1.562 kB / 0.9518 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.8082, allocations: 7.281 kB / 0.9518 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.8084, allocations: 63.19 kB / 0.9518 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.8084, allocations: 192 / 0.9518 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.8084, allocations: 5.625 kB / 0.9518 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.299e-06/0.8084, allocations: 0 / 0.9518 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001759/0.8086, allocations: 43.7 kB / 0.9519 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003021/0.8089, allocations: 289.4 kB / 0.9521 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.809, allocations: 40.73 kB / 0.9522 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.776e-05/0.8091, allocations: 23.19 kB / 0.9522 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.364e-05/0.8092, allocations: 1.125 kB / 0.9522 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.631e-05/0.8092, allocations: 34.56 kB / 0.9522 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.563e-06/0.8092, allocations: 1.062 kB / 0.9522 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003545/0.8095, allocations: 91.25 kB / 0.9523 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.509e-05/0.8096, allocations: 51.41 kB / 0.9524 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.81e-05/0.8096, allocations: 100.5 kB / 0.9525 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.095e-06/0.8097, allocations: 31.3 kB / 0.9525 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.767e-05/0.8097, allocations: 93.25 kB / 0.9526 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.332e-05/0.8097, allocations: 5.156 kB / 0.9526 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.903e-05/0.8097, allocations: 17.66 kB / 0.9526 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.105e-05/0.8098, allocations: 322.8 kB / 0.9529 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.305e-05/0.8099, allocations: 14.67 kB / 0.9529 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.433e-05/0.81, allocations: 17.7 kB / 0.9529 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001531/0.8101, allocations: 50.53 kB / 0.953 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.8101, allocations: 3.938 kB / 0.953 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001871/0.8103, allocations: 70.31 kB / 0.9531 GB, free: 6 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.8103, allocations: 6.531 kB / 0.9531 GB, free: 6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.8104, allocations: 0 / 0.9531 GB, free: 6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.8104, allocations: 1.188 kB / 0.9531 GB, free: 6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.753e-05/0.8105, allocations: 14.14 kB / 0.9531 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.8105, allocations: 0 / 0.9531 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.205e-05/0.8105, allocations: 7.172 kB / 0.9531 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.8106, allocations: 1.25 kB / 0.9531 GB, free: 5.988 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: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 0.0001033/0.8107, allocations: 117.6 kB / 0.9532 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.345e-05/0.8107, allocations: 1.281 kB / 0.9532 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.745e-05/0.8107, allocations: 3.125 kB / 0.9532 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.8107, allocations: 5.219 kB / 0.9532 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.8107, allocations: 0 / 0.9532 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.8107, allocations: 5.328 kB / 0.9532 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001131/0.8109, allocations: 173.2 kB / 0.9534 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.8109, allocations: 4.234 kB / 0.9534 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.812e-05/0.8109, allocations: 10.25 kB / 0.9534 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.811, allocations: 1.469 kB / 0.9534 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.811, allocations: 0 / 0.9534 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.811, allocations: 3.984 kB / 0.9534 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.811, allocations: 1.188 kB / 0.9534 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002146/0.8112, allocations: 173 kB / 0.9536 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.571e-05/0.8112, allocations: 77.11 kB / 0.9536 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.8112, allocations: 1.406 kB / 0.9536 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.879e-05/0.8113, allocations: 7.922 kB / 0.9537 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.438e-05/0.8114, allocations: 6.438 kB / 0.9537 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.8114, allocations: 1 kB / 0.9537 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.291e-05/0.8114, allocations: 87.17 kB / 0.9537 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8114, allocations: 0 / 0.9537 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002151/0.8116, allocations: 4.562 kB / 0.9538 GB, free: 5.289 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: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001127/0.8117, allocations: 106.8 kB / 0.9539 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002304/0.812, allocations: 46.61 kB / 0.9539 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.812, allocations: 4.062 kB / 0.9539 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.171e-05/0.8121, allocations: 26.34 kB / 0.9539 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/0.8123, allocations: 2.625 kB / 0.9539 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003016/0.8126, allocations: 117.3 kB / 0.954 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001088/0.8128, allocations: 0.683 MB / 0.9547 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.875e-05/0.8128, allocations: 11.52 kB / 0.9547 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.016e-05/0.8128, allocations: 17.7 kB / 0.9547 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.8128, allocations: 3.938 kB / 0.9547 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of Templates: time 0.002889/0.8157, allocations: 0.6045 MB / 0.9553 GB, free: 4 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches