Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.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.IntegerVectorReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.1..y|reaToInt.1..y|intRep.y.1|1.|intRep.y.2|2.|intRep.y.3|2.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.1..y|reaToInt.1..y|intRep.y.1|1.|intRep.y.2|2.|intRep.y.3|2.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 111.9 kB / 15.99 MB, free: 5.91 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.001444/0.001444, allocations: 194.8 kB / 16.91 MB, free: 5.754 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.332/1.332, allocations: 222.9 MB / 240.6 MB, free: 13.7 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.584/2.584, allocations: 469.8 MB / 0.7427 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001822/0.001822, allocations: 64.67 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2811/0.2829, allocations: 159.1 MB / 1.064 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.002004/0.2849, allocations: 0.7326 MB / 1.065 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009617/0.2859, allocations: 0.8351 MB / 1.066 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.946e-05/0.286, allocations: 8 kB / 1.066 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 8.803e-05/0.2861, allocations: 3.938 kB / 1.066 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.946e-05/0.2862, allocations: 3.984 kB / 1.066 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 9.608e-05/0.2863, allocations: 15.98 kB / 1.066 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001149/0.2864, allocations: 75.77 kB / 1.066 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.2865, allocations: 35.97 kB / 1.066 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.028e-05/0.2866, allocations: 31.92 kB / 1.066 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.554e-05/0.2867, allocations: 39.83 kB / 1.066 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.2867, allocations: 8 kB / 1.066 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.39e-05/0.2868, allocations: 4 kB / 1.066 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 5.879e-05/0.2868, allocations: 31.91 kB / 1.066 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.023e-05/0.2869, allocations: 39.78 kB / 1.066 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 9.61e-05/0.287, allocations: 71.83 kB / 1.066 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.287, allocations: 0 / 1.066 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.412e-06/0.287, allocations: 0 / 1.066 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.287, allocations: 0 / 1.066 GB, free: 13.18 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006191/0.2876, allocations: 395.5 kB / 1.066 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.2877, allocations: 12.03 kB / 1.066 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.427e-05/0.2877, allocations: 8.844 kB / 1.066 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001897/0.2879, allocations: 192.2 kB / 1.067 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/0.2879, allocations: 8.375 kB / 1.067 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.288, allocations: 4.375 kB / 1.067 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003849/0.2883, allocations: 167.8 kB / 1.067 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.2884, allocations: 192 / 1.067 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.2884, allocations: 3.938 kB / 1.067 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.2884, allocations: 0 / 1.067 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004268/0.2888, allocations: 159.8 kB / 1.067 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000583/0.2894, allocations: 448.7 kB / 1.067 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000282/0.2897, allocations: 113.1 kB / 1.067 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002175/0.2899, allocations: 81.7 kB / 1.068 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.29, allocations: 0 / 1.068 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.29, allocations: 30.56 kB / 1.068 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.29, allocations: 0 / 1.068 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4): time 0.0007229/0.2907, allocations: 233.4 kB / 1.068 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.2e-05/0.2908, allocations: 77.11 kB / 1.068 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.2909, allocations: 129.8 kB / 1.068 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.2909, allocations: 29.7 kB / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.278e-05/0.291, allocations: 96.03 kB / 1.068 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.291, allocations: 16.22 kB / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.796e-05/0.2911, allocations: 25.86 kB / 1.068 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.2912, allocations: 318.8 kB / 1.068 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001982/0.2914, allocations: 63.92 kB / 1.069 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001947/0.2916, allocations: 81.56 kB / 1.069 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000372/0.292, allocations: 125.6 kB / 1.069 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.292, allocations: 0 / 1.069 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004396/0.2925, allocations: 169.5 kB / 1.069 GB, free: 9.992 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.2925, allocations: 6.188 kB / 1.069 GB, free: 9.988 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.2925, allocations: 0 / 1.069 GB, free: 9.988 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.2925, allocations: 0 / 1.069 GB, free: 9.988 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001622/0.2927, allocations: 27.97 kB / 1.069 GB, free: 9.961 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.2927, allocations: 3.938 kB / 1.069 GB, free: 9.957 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.2928, allocations: 19.91 kB / 1.069 GB, free: 9.938 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.2928, allocations: 4 kB / 1.069 GB, free: 9.934 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (intRep.y[3,1],intRep.y[3,2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001151/0.2929, allocations: 132 kB / 1.069 GB, free: 9.797 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.271e-05/0.293, allocations: 7.906 kB / 1.069 GB, free: 9.789 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.096e-05/0.293, allocations: 19.45 kB / 1.069 GB, free: 9.77 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.293, allocations: 0 / 1.069 GB, free: 9.77 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.293, allocations: 3.938 kB / 1.069 GB, free: 9.766 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.2931, allocations: 0 / 1.069 GB, free: 9.766 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002617/0.2933, allocations: 197.6 kB / 1.069 GB, free: 9.523 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2933, allocations: 0 / 1.069 GB, free: 9.523 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000137/0.2935, allocations: 23.97 kB / 1.069 GB, free: 9.5 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.2935, allocations: 4 kB / 1.069 GB, free: 9.496 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.298e-06/0.2935, allocations: 0 / 1.069 GB, free: 9.496 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2935, allocations: 0 / 1.069 GB, free: 9.496 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.2935, allocations: 8.031 kB / 1.069 GB, free: 9.488 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005065/0.294, allocations: 338.6 kB / 1.07 GB, free: 9.141 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.235e-05/0.2941, allocations: 77.11 kB / 1.07 GB, free: 9.047 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/0.2941, allocations: 7.922 kB / 1.07 GB, free: 9.039 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001587/0.2943, allocations: 15.98 kB / 1.07 GB, free: 9.023 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.131e-05/0.2944, allocations: 27.91 kB / 1.07 GB, free: 8.996 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.2944, allocations: 7.984 kB / 1.07 GB, free: 8.988 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.84e-05/0.2944, allocations: 91.27 kB / 1.07 GB, free: 8.898 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.854e-06/0.2944, allocations: 0 / 1.07 GB, free: 8.898 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002579/0.2947, allocations: 15.94 kB / 1.07 GB, free: 8.883 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (intRep.y[3,1],intRep.y[3,2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001195/0.2948, allocations: 103.5 kB / 1.07 GB, free: 8.773 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004462/0.2953, allocations: 143.8 kB / 1.07 GB, free: 8.633 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.2953, allocations: 0 / 1.07 GB, free: 8.633 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002166/0.2955, allocations: 83.97 kB / 1.07 GB, free: 8.551 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003095/0.2958, allocations: 11.98 kB / 1.07 GB, free: 8.539 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004467/0.2963, allocations: 240.1 kB / 1.07 GB, free: 8.27 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003313/0.2966, allocations: 0.7001 MB / 1.071 GB, free: 7.543 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.921e-05/0.2967, allocations: 15.42 kB / 1.071 GB, free: 7.531 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.2967, allocations: 0 / 1.071 GB, free: 7.531 MB / 0.8419 GB Notification: Performance of Templates: time 0.002673/0.2994, allocations: 1.211 MB / 1.072 GB, free: 6.328 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches