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.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.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.006336/0.006336, allocations: 101.1 kB / 15.88 MB, free: 6.328 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.001513/0.001513, allocations: 193.2 kB / 16.79 MB, free: 6.254 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.6/1.6, allocations: 222.9 MB / 240.5 MB, free: 4.574 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.352/2.352, allocations: 390.3 MB / 0.6649 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 59.91 kB / 0.8125 GB, free: 14.84 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7161/0.7176, allocations: 140.4 MB / 0.9496 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001853/0.7195, allocations: 0.7317 MB / 0.9503 GB, free: 8.586 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000787/0.7203, allocations: 0.8233 MB / 0.9511 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.146e-05/0.7204, allocations: 0 / 0.9511 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001044/0.7205, allocations: 5.328 kB / 0.9511 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.544e-05/0.7205, allocations: 3.938 kB / 0.9511 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001816/0.7207, allocations: 16.62 kB / 0.9511 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.875e-05/0.7208, allocations: 29.52 kB / 0.9512 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.7209, allocations: 20.12 kB / 0.9512 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.659e-05/0.721, allocations: 8 kB / 0.9512 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.519e-05/0.721, allocations: 17.42 kB / 0.9512 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/0.721, allocations: 1.375 kB / 0.9512 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.244e-05/0.7211, allocations: 2.75 kB / 0.9512 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.953e-05/0.7211, allocations: 10.73 kB / 0.9512 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.664e-05/0.7212, allocations: 18.61 kB / 0.9512 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.34e-05/0.7213, allocations: 26.81 kB / 0.9513 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.7213, allocations: 0 / 0.9513 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.92e-07/0.7213, allocations: 0 / 0.9513 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.958e-06/0.7213, allocations: 1.375 kB / 0.9513 GB, free: 7.805 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.0004795/0.7218, allocations: 345.9 kB / 0.9516 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.7218, allocations: 9.625 kB / 0.9516 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.686e-05/0.7219, allocations: 10.22 kB / 0.9516 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.722, allocations: 180.4 kB / 0.9518 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.722, allocations: 1.75 kB / 0.9518 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.642e-05/0.7221, allocations: 3.125 kB / 0.9518 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002044/0.7223, allocations: 64.09 kB / 0.9519 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.7223, allocations: 4.188 kB / 0.9519 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.7223, allocations: 7.938 kB / 0.9519 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.7223, allocations: 1.375 kB / 0.9519 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001951/0.7225, allocations: 39.33 kB / 0.9519 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003383/0.7229, allocations: 289.3 kB / 0.9522 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001426/0.723, allocations: 40.31 kB / 0.9522 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.974e-05/0.7231, allocations: 27.83 kB / 0.9522 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.787e-05/0.7231, allocations: 0 / 0.9522 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.982e-05/0.7232, allocations: 31.94 kB / 0.9523 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.7232, allocations: 0 / 0.9523 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003682/0.7235, allocations: 91.95 kB / 0.9524 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.866e-05/0.7236, allocations: 51.41 kB / 0.9524 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.393e-05/0.7236, allocations: 108.7 kB / 0.9525 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.548e-06/0.7237, allocations: 29.7 kB / 0.9525 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.117e-05/0.7237, allocations: 88.33 kB / 0.9526 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.524e-05/0.7237, allocations: 9.266 kB / 0.9526 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.112e-05/0.7238, allocations: 24.58 kB / 0.9527 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.155e-05/0.7238, allocations: 320.1 kB / 0.953 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.417e-05/0.7239, allocations: 17.61 kB / 0.953 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.001e-05/0.724, allocations: 18.97 kB / 0.953 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001591/0.7242, allocations: 45.7 kB / 0.953 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.7242, allocations: 3.984 kB / 0.953 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001949/0.7244, allocations: 70.94 kB / 0.9531 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.7244, allocations: 4.812 kB / 0.9531 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.7244, allocations: 0 / 0.9531 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.7244, allocations: 0 / 0.9531 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.7245, allocations: 10.7 kB / 0.9531 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.7246, allocations: 0 / 0.9531 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.453e-05/0.7246, allocations: 8.031 kB / 0.9531 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.7246, allocations: 1.656 kB / 0.9531 GB, free: 5.914 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.0001222/0.7248, allocations: 120.5 kB / 0.9533 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.434e-05/0.7248, allocations: 1.438 kB / 0.9533 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.981e-05/0.7248, allocations: 3.125 kB / 0.9533 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.7248, allocations: 1.312 kB / 0.9533 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.7248, allocations: 0 / 0.9533 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.7248, allocations: 1.438 kB / 0.9533 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001227/0.725, allocations: 173.2 kB / 0.9534 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.725, allocations: 4 kB / 0.9534 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.284e-05/0.725, allocations: 10.55 kB / 0.9534 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.725, allocations: 3.938 kB / 0.9534 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.066e-06/0.7251, allocations: 5.531 kB / 0.9534 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.7251, allocations: 0 / 0.9534 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.7251, allocations: 0 / 0.9534 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002191/0.7253, allocations: 174 kB / 0.9536 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.927e-05/0.7253, allocations: 81.34 kB / 0.9537 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.7253, allocations: 1.469 kB / 0.9537 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.194e-05/0.7254, allocations: 6.719 kB / 0.9537 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.822e-05/0.7255, allocations: 10.7 kB / 0.9537 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.7255, allocations: 1.312 kB / 0.9537 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.258e-05/0.7255, allocations: 79.19 kB / 0.9538 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7255, allocations: 0 / 0.9538 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002168/0.7257, allocations: 5.656 kB / 0.9538 GB, free: 5.215 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.0001003/0.7259, allocations: 110 kB / 0.9539 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002219/0.7261, allocations: 51.73 kB / 0.9539 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.7261, allocations: 0 / 0.9539 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.206e-05/0.7262, allocations: 19.2 kB / 0.954 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002443/0.7264, allocations: 8.609 kB / 0.954 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002971/0.7267, allocations: 154.6 kB / 0.9541 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001049/0.7269, allocations: 0.6804 MB / 0.9548 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.416e-05/0.7269, allocations: 13.12 kB / 0.9548 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of SimCode: time 3e-07/0.7269, allocations: 0 / 0.9548 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of Templates: time 0.001784/0.7287, allocations: 0.6843 MB / 0.9555 GB, free: 3.859 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/jenkins1/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