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.001346/0.001346, allocations: 102.5 kB / 16.35 MB, free: 6.285 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.001308/0.001308, allocations: 196.2 kB / 17.29 MB, free: 5.863 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.494/1.494, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.354/2.354, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 62.03 kB / 0.814 GB, free: 32.62 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3345, allocations: 140.4 MB / 0.9511 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.002556/0.3371, allocations: 0.6633 MB / 0.9518 GB, free: 7.387 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001044/0.3382, allocations: 0.8371 MB / 0.9526 GB, free: 6.539 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.552e-05/0.3383, allocations: 4 kB / 0.9526 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001026/0.3384, allocations: 3.938 kB / 0.9526 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 1.908e-05/0.3384, allocations: 7.938 kB / 0.9526 GB, free: 6.523 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001617/0.3386, allocations: 15.98 kB / 0.9526 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.441e-05/0.3387, allocations: 27.92 kB / 0.9527 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.3388, allocations: 15.97 kB / 0.9527 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.334e-05/0.3388, allocations: 15.94 kB / 0.9527 GB, free: 6.449 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.659e-05/0.3389, allocations: 15.92 kB / 0.9527 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.3389, allocations: 4 kB / 0.9527 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.115e-05/0.339, allocations: 0 / 0.9527 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.037e-05/0.339, allocations: 15.98 kB / 0.9527 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.308e-05/0.3391, allocations: 15.92 kB / 0.9527 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.711e-05/0.3392, allocations: 43.81 kB / 0.9528 GB, free: 6.355 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.3392, allocations: 0 / 0.9528 GB, free: 6.355 MB / 0.7325 GB Notification: Performance of FrontEnd: time 5.149e-06/0.3392, allocations: 0 / 0.9528 GB, free: 6.355 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.3392, allocations: 3.938 kB / 0.9528 GB, free: 6.352 MB / 0.7325 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.0004659/0.3397, allocations: 347.4 kB / 0.9531 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.3397, allocations: 12.03 kB / 0.9531 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.091e-05/0.3398, allocations: 4.844 kB / 0.9531 GB, free: 5.945 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001646/0.3399, allocations: 176.4 kB / 0.9533 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.34, allocations: 4.375 kB / 0.9533 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.239e-05/0.34, allocations: 384 / 0.9533 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001931/0.3402, allocations: 62.23 kB / 0.9534 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.3402, allocations: 4.125 kB / 0.9534 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.3402, allocations: 7.938 kB / 0.9534 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.3402, allocations: 0 / 0.9534 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001828/0.3404, allocations: 47.89 kB / 0.9534 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003836/0.3408, allocations: 288.7 kB / 0.9537 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001311/0.3409, allocations: 34.62 kB / 0.9537 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.881e-05/0.341, allocations: 28.83 kB / 0.9537 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.3411, allocations: 0 / 0.9537 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.3411, allocations: 42.5 kB / 0.9538 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 8.91e-07/0.3411, allocations: 0 / 0.9538 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003906/0.3415, allocations: 81.64 kB / 0.9539 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.314e-05/0.3416, allocations: 51.41 kB / 0.9539 GB, free: 5 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.3417, allocations: 109.8 kB / 0.954 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.3418, allocations: 29.83 kB / 0.954 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.929e-05/0.3418, allocations: 95.97 kB / 0.9541 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.232e-05/0.3419, allocations: 7.906 kB / 0.9541 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.648e-05/0.3419, allocations: 17.72 kB / 0.9542 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001864/0.3421, allocations: 314.8 kB / 0.9545 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.49e-05/0.3422, allocations: 19.97 kB / 0.9545 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.817e-05/0.3423, allocations: 19.92 kB / 0.9545 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000161/0.3425, allocations: 48.88 kB / 0.9546 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.3425, allocations: 0 / 0.9546 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001955/0.3427, allocations: 65.66 kB / 0.9546 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/0.3427, allocations: 8 kB / 0.9546 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.3427, allocations: 0 / 0.9546 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.351e-05/0.3428, allocations: 0 / 0.9546 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.3429, allocations: 16.02 kB / 0.9546 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.3429, allocations: 0 / 0.9546 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.175e-05/0.343, allocations: 4 kB / 0.9546 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.343, allocations: 3.984 kB / 0.9546 GB, free: 4.211 MB / 0.7325 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.000218/0.3432, allocations: 121.7 kB / 0.9548 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.288e-05/0.3432, allocations: 0 / 0.9548 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.381e-05/0.3433, allocations: 3.125 kB / 0.9548 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.3433, allocations: 3.984 kB / 0.9548 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.3433, allocations: 4 kB / 0.9548 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.3433, allocations: 0 / 0.9548 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002356/0.3435, allocations: 169.6 kB / 0.9549 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.3435, allocations: 4 kB / 0.9549 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.891e-05/0.3436, allocations: 7.984 kB / 0.9549 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.3436, allocations: 0 / 0.9549 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.3436, allocations: 0 / 0.9549 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-06/0.3437, allocations: 4 kB / 0.9549 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.3437, allocations: 3.938 kB / 0.955 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002979/0.344, allocations: 175.3 kB / 0.9551 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.681e-05/0.344, allocations: 77.11 kB / 0.9552 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.3441, allocations: 7.938 kB / 0.9552 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.779e-05/0.3441, allocations: 3.984 kB / 0.9552 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.363e-05/0.3442, allocations: 11.94 kB / 0.9552 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.137e-06/0.3442, allocations: 0 / 0.9552 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.144e-05/0.3443, allocations: 91.55 kB / 0.9553 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3443, allocations: 0 / 0.9553 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002248/0.3446, allocations: 12 kB / 0.9553 GB, free: 3.43 MB / 0.7325 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.0001935/0.3448, allocations: 95.25 kB / 0.9554 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000264/0.345, allocations: 43.89 kB / 0.9554 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.345, allocations: 64 / 0.9554 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.475e-05/0.3451, allocations: 23.98 kB / 0.9555 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002982/0.3454, allocations: 9.859 kB / 0.9555 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004313/0.3459, allocations: 121.5 kB / 0.9556 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003376/0.3462, allocations: 0.6844 MB / 0.9563 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 4.439e-05/0.3463, allocations: 8.062 kB / 0.9563 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.712e-05/0.3463, allocations: 7.438 kB / 0.9563 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of SimCode: time 2.01e-07/0.3463, allocations: 0 / 0.9563 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of Templates: time 0.003146/0.3495, allocations: 0.6097 MB / 0.9569 GB, free: 1.777 MB / 0.7325 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 -s cvode -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