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.001262/0.001262, allocations: 120.2 kB / 16.37 MB, free: 6.016 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.001244/0.001245, allocations: 193 kB / 17.31 MB, free: 5.613 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.368/1.368, allocations: 222.9 MB / 241 MB, free: 15.18 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.322/2.322, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 72.61 kB / 0.814 GB, free: 32.7 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3064, allocations: 140.4 MB / 0.9511 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001986/0.3084, allocations: 0.6692 MB / 0.9518 GB, free: 7.398 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009402/0.3094, allocations: 0.8294 MB / 0.9526 GB, free: 6.559 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.098e-05/0.3094, allocations: 0 / 0.9526 GB, free: 6.559 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.000102/0.3095, allocations: 3.938 kB / 0.9526 GB, free: 6.555 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 1.899e-05/0.3096, allocations: 7.922 kB / 0.9526 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001663/0.3098, allocations: 19.97 kB / 0.9526 GB, free: 6.527 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.108e-05/0.3099, allocations: 27.92 kB / 0.9527 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.31, allocations: 16 kB / 0.9527 GB, free: 6.484 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.114e-05/0.31, allocations: 15.92 kB / 0.9527 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.24e-05/0.3101, allocations: 15.92 kB / 0.9527 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.3101, allocations: 4 kB / 0.9527 GB, free: 6.449 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.227e-05/0.3101, allocations: 4 kB / 0.9527 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.58e-05/0.3102, allocations: 11.97 kB / 0.9527 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.831e-05/0.3102, allocations: 15.88 kB / 0.9527 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.975e-05/0.3103, allocations: 39.88 kB / 0.9528 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3103, allocations: 3.938 kB / 0.9528 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3104, allocations: 4 kB / 0.9528 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.3104, allocations: 0 / 0.9528 GB, free: 6.371 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.0004839/0.3109, allocations: 351.4 kB / 0.9531 GB, free: 5.977 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.3109, allocations: 8.031 kB / 0.9531 GB, free: 5.969 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.857e-05/0.3109, allocations: 8.844 kB / 0.9531 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.3111, allocations: 168.4 kB / 0.9533 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.3111, allocations: 8.375 kB / 0.9533 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.348e-05/0.3111, allocations: 384 / 0.9533 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001888/0.3113, allocations: 70.22 kB / 0.9534 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.3113, allocations: 192 / 0.9534 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.3114, allocations: 3.938 kB / 0.9534 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.3114, allocations: 0 / 0.9534 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001737/0.3115, allocations: 47.89 kB / 0.9534 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003616/0.3119, allocations: 276.7 kB / 0.9537 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/0.3121, allocations: 54.53 kB / 0.9537 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.339e-05/0.3121, allocations: 20.84 kB / 0.9538 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.437e-05/0.3122, allocations: 11.86 kB / 0.9538 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.3122, allocations: 38.56 kB / 0.9538 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.3122, allocations: 0 / 0.9538 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.000352/0.3126, allocations: 85.64 kB / 0.9539 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.29e-05/0.3126, allocations: 51.41 kB / 0.9539 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.458e-05/0.3127, allocations: 105.8 kB / 0.954 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.3127, allocations: 25.7 kB / 0.9541 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.178e-05/0.3128, allocations: 88.05 kB / 0.9541 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.368e-05/0.3128, allocations: 7.906 kB / 0.9542 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.603e-05/0.3128, allocations: 21.83 kB / 0.9542 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.3129, allocations: 314.8 kB / 0.9545 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.75e-05/0.313, allocations: 23.92 kB / 0.9545 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.159e-05/0.3131, allocations: 19.97 kB / 0.9545 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.3133, allocations: 36.83 kB / 0.9546 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3133, allocations: 4.062 kB / 0.9546 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001897/0.3135, allocations: 73.66 kB / 0.9546 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.3135, allocations: 4 kB / 0.9546 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.3135, allocations: 0 / 0.9546 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.3135, allocations: 3.984 kB / 0.9546 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.521e-05/0.3136, allocations: 8 kB / 0.9546 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.3136, allocations: 0 / 0.9546 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.491e-05/0.3137, allocations: 12.02 kB / 0.9547 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-06/0.3137, allocations: 0 / 0.9547 GB, free: 4.23 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.0001032/0.3138, allocations: 119.7 kB / 0.9548 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.419e-05/0.3139, allocations: 3.984 kB / 0.9548 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.966e-05/0.3139, allocations: 7.125 kB / 0.9548 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.3139, allocations: 3.938 kB / 0.9548 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.3139, allocations: 4 kB / 0.9548 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.3139, allocations: 256 / 0.9548 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001555/0.3141, allocations: 165.6 kB / 0.9549 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.3141, allocations: 8 kB / 0.9549 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.944e-05/0.3141, allocations: 11.98 kB / 0.955 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3141, allocations: 0 / 0.955 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.024e-06/0.3142, allocations: 4 kB / 0.955 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.746e-06/0.3142, allocations: 3.984 kB / 0.955 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3142, allocations: 0 / 0.955 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002387/0.3144, allocations: 171.4 kB / 0.9551 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.541e-05/0.3145, allocations: 81.11 kB / 0.9552 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.3145, allocations: 0 / 0.9552 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.39e-05/0.3146, allocations: 7.984 kB / 0.9552 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/0.3146, allocations: 7.922 kB / 0.9552 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.211e-06/0.3146, allocations: 4 kB / 0.9552 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.383e-05/0.3147, allocations: 87.22 kB / 0.9553 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3147, allocations: 0 / 0.9553 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002133/0.3149, allocations: 4 kB / 0.9553 GB, free: 3.457 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.0001092/0.315, allocations: 99.28 kB / 0.9554 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002095/0.3152, allocations: 47.89 kB / 0.9555 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3152, allocations: 0 / 0.9555 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.97e-05/0.3153, allocations: 23.97 kB / 0.9555 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002454/0.3156, allocations: 4.125 kB / 0.9555 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002985/0.3159, allocations: 121.5 kB / 0.9556 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002536/0.3162, allocations: 0.6883 MB / 0.9563 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.415e-05/0.3162, allocations: 4 kB / 0.9563 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.906e-05/0.3162, allocations: 7.438 kB / 0.9563 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of SimCode: time 2.01e-07/0.3162, allocations: 0 / 0.9563 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of Templates: time 0.002595/0.3188, allocations: 0.6313 MB / 0.9569 GB, free: 1.781 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 gbode -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