Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.00157/0.001571, allocations: 109.3 kB / 15.99 MB, free: 6.359 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.001731/0.001731, allocations: 194.5 kB / 16.91 MB, free: 6.195 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.354/1.354, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.587/2.587, allocations: 469.8 MB / 0.7427 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001874, allocations: 70.64 kB / 0.9087 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2834/0.2853, allocations: 159.1 MB / 1.064 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001906/0.2872, allocations: 0.7248 MB / 1.065 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009642/0.2882, allocations: 0.8273 MB / 1.066 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.935e-05/0.2883, allocations: 0 / 1.066 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 9.34e-05/0.2884, allocations: 7.938 kB / 1.066 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 1.967e-05/0.2884, allocations: 3.984 kB / 1.066 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001368/0.2885, allocations: 15.98 kB / 1.066 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.046e-05/0.2886, allocations: 35.86 kB / 1.066 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.783e-05/0.2887, allocations: 11.98 kB / 1.066 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.027e-05/0.2888, allocations: 8 kB / 1.066 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.738e-05/0.2889, allocations: 15.92 kB / 1.066 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.2889, allocations: 4 kB / 1.066 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.097e-05/0.2889, allocations: 4 kB / 1.066 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.771e-05/0.2889, allocations: 15.97 kB / 1.066 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.36e-05/0.289, allocations: 19.86 kB / 1.066 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 7.127e-05/0.2891, allocations: 31.95 kB / 1.066 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2891, allocations: 0 / 1.066 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.362e-06/0.2891, allocations: 0 / 1.066 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.2891, allocations: 0 / 1.066 GB, free: 13.35 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.000496/0.2896, allocations: 343.7 kB / 1.066 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.2896, allocations: 12.03 kB / 1.066 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.917e-05/0.2897, allocations: 0.9375 kB / 1.066 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001665/0.2898, allocations: 184.2 kB / 1.066 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.2899, allocations: 4.375 kB / 1.066 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.947e-06/0.2899, allocations: 384 / 1.066 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/0.2901, allocations: 70.2 kB / 1.066 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.2901, allocations: 192 / 1.066 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.2901, allocations: 3.938 kB / 1.066 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.2901, allocations: 0 / 1.066 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001942/0.2903, allocations: 51.94 kB / 1.066 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003886/0.2907, allocations: 288.7 kB / 1.067 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001346/0.2908, allocations: 38.56 kB / 1.067 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.318e-05/0.2909, allocations: 28.89 kB / 1.067 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.578e-05/0.291, allocations: 0 / 1.067 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.291, allocations: 34.56 kB / 1.067 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 9.518e-06/0.291, allocations: 0 / 1.067 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0003554/0.2914, allocations: 93.42 kB / 1.067 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/0.2914, allocations: 51.41 kB / 1.067 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.267e-05/0.2915, allocations: 110 kB / 1.067 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.2916, allocations: 29.64 kB / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.938e-05/0.2916, allocations: 88.14 kB / 1.067 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.22e-05/0.2916, allocations: 3.906 kB / 1.067 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-05/0.2917, allocations: 17.7 kB / 1.067 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.2918, allocations: 318.8 kB / 1.068 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.463e-05/0.2919, allocations: 11.98 kB / 1.068 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.555e-05/0.292, allocations: 27.97 kB / 1.068 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001542/0.2922, allocations: 40.77 kB / 1.068 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.2922, allocations: 0 / 1.068 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001991/0.2924, allocations: 73.66 kB / 1.068 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.2924, allocations: 10.64 kB / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.2924, allocations: 4.094 kB / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.2924, allocations: 0 / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.341e-05/0.2925, allocations: 8 kB / 1.068 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.2925, allocations: 3.984 kB / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.015e-05/0.2926, allocations: 4 kB / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.92e-06/0.2926, allocations: 0 / 1.068 GB, free: 11.21 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.0001216/0.2927, allocations: 121.8 kB / 1.068 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.359e-05/0.2927, allocations: 3.906 kB / 1.068 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.154e-05/0.2928, allocations: 7.125 kB / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.2928, allocations: 0 / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.2928, allocations: 0 / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.2928, allocations: 4 kB / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001836/0.293, allocations: 169.6 kB / 1.068 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.293, allocations: 11.86 kB / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.11e-05/0.2931, allocations: 7.984 kB / 1.068 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.2931, allocations: 0 / 1.068 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.2931, allocations: 0 / 1.068 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.2931, allocations: 4 kB / 1.068 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.2931, allocations: 4 kB / 1.068 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002605/0.2934, allocations: 163.7 kB / 1.068 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.243e-05/0.2934, allocations: 77.11 kB / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.2935, allocations: 11.98 kB / 1.068 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.696e-05/0.2935, allocations: 0 / 1.068 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.135e-05/0.2936, allocations: 16.02 kB / 1.068 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.2936, allocations: 0 / 1.068 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.965e-05/0.2936, allocations: 79.28 kB / 1.068 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2937, allocations: 0 / 1.068 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002107/0.2939, allocations: 11.91 kB / 1.068 GB, free: 10.44 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.000121/0.294, allocations: 103.2 kB / 1.068 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002196/0.2942, allocations: 47.91 kB / 1.069 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.2942, allocations: 0 / 1.069 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 9.976e-05/0.2943, allocations: 27.91 kB / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002214/0.2946, allocations: 5.969 kB / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003191/0.2949, allocations: 155.3 kB / 1.069 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003129/0.2952, allocations: 0.6808 MB / 1.069 GB, free: 9.355 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.159e-05/0.2953, allocations: 11.44 kB / 1.069 GB, free: 9.348 MB / 0.8419 GB Notification: Performance of SimCode: time 2.154e-06/0.2953, allocations: 0 / 1.069 GB, free: 9.348 MB / 0.8419 GB Notification: Performance of Templates: time 0.002039/0.2973, allocations: 0.6785 MB / 1.07 GB, free: 8.672 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches