Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001402/0.001402, allocations: 108 kB / 15.6 MB, free: 132 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.001415/0.001415, allocations: 195 kB / 16.53 MB, free: 6.391 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.486/1.486, allocations: 222.9 MB / 240.2 MB, free: 4.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.096/3.096, allocations: 482.6 MB / 0.7548 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 69.12 kB / 0.9241 GB, free: 29.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3534/0.3553, allocations: 162.3 MB / 1.083 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.002258/0.3577, allocations: 0.6727 MB / 1.083 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001169/0.3589, allocations: 0.8352 MB / 1.084 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.76e-05/0.3589, allocations: 0 / 1.084 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001086/0.3591, allocations: 7.922 kB / 1.084 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 1.95e-05/0.3591, allocations: 3.938 kB / 1.084 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001853/0.3593, allocations: 15.98 kB / 1.084 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.417e-05/0.3594, allocations: 35.91 kB / 1.084 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000165/0.3595, allocations: 12 kB / 1.084 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.49e-05/0.3596, allocations: 15.92 kB / 1.084 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.271e-05/0.3597, allocations: 15.92 kB / 1.084 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.074e-05/0.3597, allocations: 4 kB / 1.084 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.397e-05/0.3597, allocations: 4 kB / 1.084 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 7.401e-05/0.3598, allocations: 7.984 kB / 1.084 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.599e-05/0.3599, allocations: 19.86 kB / 1.084 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001232/0.36, allocations: 39.88 kB / 1.084 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.36, allocations: 0 / 1.084 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.884e-06/0.36, allocations: 0 / 1.084 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.36, allocations: 4 kB / 1.084 GB, free: 11.24 MB / 0.8419 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.0005898/0.3606, allocations: 351.7 kB / 1.085 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.3607, allocations: 8.031 kB / 1.085 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.465e-05/0.3607, allocations: 8.844 kB / 1.085 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001953/0.3609, allocations: 172.3 kB / 1.085 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.286e-05/0.361, allocations: 384 / 1.085 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/0.361, allocations: 4.375 kB / 1.085 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000218/0.3612, allocations: 62.22 kB / 1.085 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.3612, allocations: 4.188 kB / 1.085 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.3612, allocations: 7.938 kB / 1.085 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.3613, allocations: 0 / 1.085 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002012/0.3615, allocations: 43.94 kB / 1.085 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004424/0.3619, allocations: 284.6 kB / 1.085 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001519/0.3621, allocations: 46.55 kB / 1.085 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.837e-05/0.3622, allocations: 24.91 kB / 1.085 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.3622, allocations: 3.938 kB / 1.085 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/0.3623, allocations: 34.55 kB / 1.085 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.3623, allocations: 0 / 1.085 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0004035/0.3627, allocations: 89.58 kB / 1.085 GB, free: 9.949 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.115e-05/0.3627, allocations: 55.41 kB / 1.085 GB, free: 9.883 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.3629, allocations: 105.8 kB / 1.085 GB, free: 9.77 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.3629, allocations: 25.7 kB / 1.085 GB, free: 9.738 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.993e-05/0.363, allocations: 91.98 kB / 1.086 GB, free: 9.645 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.52e-05/0.363, allocations: 0 / 1.086 GB, free: 9.645 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.466e-05/0.363, allocations: 25.83 kB / 1.086 GB, free: 9.613 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.3632, allocations: 314.8 kB / 1.086 GB, free: 9.297 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.415e-05/0.3633, allocations: 19.98 kB / 1.086 GB, free: 9.277 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.143e-05/0.3634, allocations: 15.97 kB / 1.086 GB, free: 9.262 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001835/0.3636, allocations: 44.83 kB / 1.086 GB, free: 9.215 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3636, allocations: 4.062 kB / 1.086 GB, free: 9.211 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002268/0.3638, allocations: 73.5 kB / 1.086 GB, free: 9.133 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.3639, allocations: 4 kB / 1.086 GB, free: 9.129 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.3639, allocations: 0 / 1.086 GB, free: 9.129 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.3639, allocations: 0 / 1.086 GB, free: 9.129 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.364, allocations: 11.98 kB / 1.086 GB, free: 9.117 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.364, allocations: 0 / 1.086 GB, free: 9.117 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.396e-05/0.3641, allocations: 16 kB / 1.086 GB, free: 9.102 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.269e-06/0.3641, allocations: 0 / 1.086 GB, free: 9.102 MB / 0.8419 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.0001872/0.3643, allocations: 117.8 kB / 1.086 GB, free: 8.977 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.446e-05/0.3643, allocations: 0 / 1.086 GB, free: 8.977 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.408e-05/0.3644, allocations: 11.11 kB / 1.086 GB, free: 8.969 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3644, allocations: 4 kB / 1.086 GB, free: 8.965 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.3644, allocations: 256 / 1.086 GB, free: 8.965 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.3644, allocations: 0 / 1.086 GB, free: 8.965 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002093/0.3646, allocations: 169.6 kB / 1.086 GB, free: 8.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.3646, allocations: 4 kB / 1.086 GB, free: 8.746 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.398e-05/0.3647, allocations: 11.98 kB / 1.086 GB, free: 8.734 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3647, allocations: 0 / 1.086 GB, free: 8.734 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.3647, allocations: 0 / 1.086 GB, free: 8.734 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.718e-06/0.3647, allocations: 3.938 kB / 1.086 GB, free: 8.73 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3647, allocations: 3.938 kB / 1.086 GB, free: 8.727 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000276/0.365, allocations: 167.5 kB / 1.087 GB, free: 8.547 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.994e-05/0.3651, allocations: 85.02 kB / 1.087 GB, free: 8.445 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.3651, allocations: 0 / 1.087 GB, free: 8.445 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.33e-05/0.3652, allocations: 7.984 kB / 1.087 GB, free: 8.438 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.486e-05/0.3653, allocations: 7.984 kB / 1.087 GB, free: 8.43 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.824e-06/0.3653, allocations: 4 kB / 1.087 GB, free: 8.426 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.852e-05/0.3653, allocations: 87.22 kB / 1.087 GB, free: 8.34 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3653, allocations: 0 / 1.087 GB, free: 8.34 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002162/0.3656, allocations: 4 kB / 1.087 GB, free: 8.336 MB / 0.8419 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.0001774/0.3658, allocations: 103.3 kB / 1.087 GB, free: 8.223 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002695/0.366, allocations: 43.83 kB / 1.087 GB, free: 8.18 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.366, allocations: 0 / 1.087 GB, free: 8.18 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 9.849e-05/0.3661, allocations: 27.97 kB / 1.087 GB, free: 8.152 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002517/0.3664, allocations: 128 / 1.087 GB, free: 8.152 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004116/0.3668, allocations: 121.6 kB / 1.087 GB, free: 8.004 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003644/0.3672, allocations: 0.6768 MB / 1.088 GB, free: 7.301 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 3.978e-05/0.3673, allocations: 7.984 kB / 1.088 GB, free: 7.293 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.366e-05/0.3673, allocations: 11.44 kB / 1.088 GB, free: 7.281 MB / 0.8419 GB Notification: Performance of SimCode: time 4.91e-07/0.3673, allocations: 4 kB / 1.088 GB, free: 7.277 MB / 0.8419 GB Notification: Performance of Templates: time 0.003394/0.3707, allocations: 0.6073 MB / 1.088 GB, free: 6.672 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches