Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.00127/0.00127, allocations: 107.3 kB / 16.27 MB, free: 6.355 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.001374/0.001375, allocations: 190.4 kB / 17.2 MB, free: 5.953 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.464/1.464, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.6/2.6, allocations: 437.1 MB / 0.7111 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002071/0.002071, allocations: 67.48 kB / 0.8699 GB, free: 2.246 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/0.3178, allocations: 151.6 MB / 1.018 GB, free: 10.68 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001973/0.3198, allocations: 0.6639 MB / 1.019 GB, free: 10.02 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001027/0.3208, allocations: 0.8273 MB / 1.019 GB, free: 9.18 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.19e-05/0.3209, allocations: 0 / 1.019 GB, free: 9.18 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 8.082e-05/0.321, allocations: 3.938 kB / 1.019 GB, free: 9.176 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 1.825e-05/0.321, allocations: 7.938 kB / 1.019 GB, free: 9.168 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001431/0.3212, allocations: 23.97 kB / 1.019 GB, free: 9.145 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.153e-05/0.3213, allocations: 27.92 kB / 1.02 GB, free: 9.117 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.991e-05/0.3214, allocations: 11.94 kB / 1.02 GB, free: 9.105 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 4.406e-05/0.3214, allocations: 11.98 kB / 1.02 GB, free: 9.094 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.359e-05/0.3215, allocations: 23.91 kB / 1.02 GB, free: 9.07 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.3215, allocations: 0 / 1.02 GB, free: 9.07 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.336e-05/0.3215, allocations: 4 kB / 1.02 GB, free: 9.066 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 5.217e-05/0.3216, allocations: 11.98 kB / 1.02 GB, free: 9.055 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.594e-05/0.3216, allocations: 19.88 kB / 1.02 GB, free: 9.035 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001027/0.3217, allocations: 43.86 kB / 1.02 GB, free: 8.992 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3217, allocations: 0 / 1.02 GB, free: 8.992 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3217, allocations: 0 / 1.02 GB, free: 8.992 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.3217, allocations: 0 / 1.02 GB, free: 8.992 MB / 0.795 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.000494/0.3222, allocations: 351.6 kB / 1.02 GB, free: 8.598 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.3223, allocations: 8.922 kB / 1.02 GB, free: 8.59 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.435e-05/0.3223, allocations: 4.938 kB / 1.02 GB, free: 8.586 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.3225, allocations: 180.2 kB / 1.02 GB, free: 8.371 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.3225, allocations: 4.375 kB / 1.02 GB, free: 8.367 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.118e-05/0.3225, allocations: 4.375 kB / 1.02 GB, free: 8.363 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002376/0.3228, allocations: 62.22 kB / 1.02 GB, free: 8.297 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.3228, allocations: 192 / 1.02 GB, free: 8.297 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.3228, allocations: 3.938 kB / 1.02 GB, free: 8.293 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.3228, allocations: 4 kB / 1.02 GB, free: 8.289 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002029/0.323, allocations: 43.95 kB / 1.02 GB, free: 8.246 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003952/0.3234, allocations: 284.6 kB / 1.021 GB, free: 7.918 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001486/0.3236, allocations: 42.55 kB / 1.021 GB, free: 7.867 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/0.3237, allocations: 24.89 kB / 1.021 GB, free: 7.84 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.541e-05/0.3238, allocations: 4 kB / 1.021 GB, free: 7.836 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.3238, allocations: 38.56 kB / 1.021 GB, free: 7.789 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.3238, allocations: 0 / 1.021 GB, free: 7.789 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0003961/0.3242, allocations: 89.58 kB / 1.021 GB, free: 7.695 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/0.3243, allocations: 55.34 kB / 1.021 GB, free: 7.629 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.606e-05/0.3244, allocations: 113.9 kB / 1.021 GB, free: 7.508 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.3244, allocations: 25.7 kB / 1.021 GB, free: 7.477 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.129e-05/0.3244, allocations: 80.14 kB / 1.021 GB, free: 7.395 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.649e-05/0.3245, allocations: 7.906 kB / 1.021 GB, free: 7.387 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.3245, allocations: 17.7 kB / 1.021 GB, free: 7.363 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.3247, allocations: 318.8 kB / 1.021 GB, free: 7.043 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.246e-05/0.3248, allocations: 15.98 kB / 1.021 GB, free: 7.027 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.376e-05/0.3249, allocations: 27.97 kB / 1.021 GB, free: 7 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001725/0.325, allocations: 40.77 kB / 1.021 GB, free: 6.957 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.325, allocations: 0 / 1.021 GB, free: 6.957 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002271/0.3253, allocations: 69.66 kB / 1.021 GB, free: 6.883 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.3253, allocations: 4 kB / 1.021 GB, free: 6.879 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.3253, allocations: 8.078 kB / 1.021 GB, free: 6.871 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.3253, allocations: 4 kB / 1.021 GB, free: 6.867 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.773e-05/0.3254, allocations: 4 kB / 1.021 GB, free: 6.863 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.3254, allocations: 0 / 1.021 GB, free: 6.863 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.718e-05/0.3255, allocations: 7.984 kB / 1.021 GB, free: 6.855 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.3255, allocations: 0 / 1.021 GB, free: 6.855 MB / 0.795 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.000158/0.3257, allocations: 113.8 kB / 1.022 GB, free: 6.734 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.011e-05/0.3257, allocations: 11.89 kB / 1.022 GB, free: 6.723 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.001e-05/0.3257, allocations: 11.12 kB / 1.022 GB, free: 6.711 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.3258, allocations: 0 / 1.022 GB, free: 6.711 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.3258, allocations: 0 / 1.022 GB, free: 6.711 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.3258, allocations: 0 / 1.022 GB, free: 6.711 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000193/0.326, allocations: 169.7 kB / 1.022 GB, free: 6.496 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.326, allocations: 0 / 1.022 GB, free: 6.496 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.819e-05/0.3261, allocations: 27.8 kB / 1.022 GB, free: 6.469 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3261, allocations: 0 / 1.022 GB, free: 6.469 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.3261, allocations: 0 / 1.022 GB, free: 6.469 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.3261, allocations: 0 / 1.022 GB, free: 6.469 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3261, allocations: 0 / 1.022 GB, free: 6.469 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002864/0.3264, allocations: 171.5 kB / 1.022 GB, free: 6.285 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.61e-05/0.3264, allocations: 77.11 kB / 1.022 GB, free: 6.191 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/0.3265, allocations: 3.984 kB / 1.022 GB, free: 6.188 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.023e-05/0.3266, allocations: 4.25 kB / 1.022 GB, free: 6.184 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.488e-05/0.3266, allocations: 7.984 kB / 1.022 GB, free: 6.176 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.461e-06/0.3266, allocations: 8.031 kB / 1.022 GB, free: 6.168 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.015e-05/0.3267, allocations: 83.28 kB / 1.022 GB, free: 6.086 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3267, allocations: 0 / 1.022 GB, free: 6.086 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002249/0.3269, allocations: 4 kB / 1.022 GB, free: 6.082 MB / 0.795 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.0001345/0.3271, allocations: 107.2 kB / 1.022 GB, free: 5.969 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002412/0.3273, allocations: 43.91 kB / 1.022 GB, free: 5.926 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.3273, allocations: 4.062 kB / 1.022 GB, free: 5.922 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 9.577e-05/0.3274, allocations: 19.97 kB / 1.022 GB, free: 5.902 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002417/0.3277, allocations: 9.5 kB / 1.022 GB, free: 5.895 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003391/0.328, allocations: 140.8 kB / 1.022 GB, free: 5.727 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000373/0.3284, allocations: 0.6924 MB / 1.023 GB, free: 5.008 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.05e-05/0.3284, allocations: 7.438 kB / 1.023 GB, free: 5 MB / 0.795 GB Notification: Performance of SimCode: time 2.3e-07/0.3284, allocations: 0 / 1.023 GB, free: 5 MB / 0.795 GB Notification: Performance of Templates: time 0.002149/0.3306, allocations: 0.6823 MB / 1.024 GB, free: 4.324 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches