Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.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_9_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_9_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.007758/0.007758, allocations: 102.4 kB / 15.73 MB, free: 6.438 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.001556/0.001556, allocations: 194.3 kB / 16.67 MB, free: 6.355 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.483/1.483, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.588/2.588, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 64.05 kB / 0.9508 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3764/0.3776, allocations: 140.4 MB / 1.088 GB, free: 1.508 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.002308/0.38, allocations: 0.668 MB / 1.089 GB, free: 0.8398 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001207/0.3812, allocations: 0.8354 MB / 1.089 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.962e-05/0.3814, allocations: 4 kB / 1.089 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001301/0.3815, allocations: 3.938 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001188/0.3816, allocations: 7.938 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001694/0.3818, allocations: 15.98 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001805/0.382, allocations: 83.75 kB / 1.09 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001984/0.3822, allocations: 27.98 kB / 1.09 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001191/0.3823, allocations: 39.89 kB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000128/0.3825, allocations: 39.89 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.765e-05/0.3825, allocations: 4 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.95e-05/0.3825, allocations: 4 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.221e-05/0.3826, allocations: 27.92 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.035e-05/0.3827, allocations: 35.8 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00019/0.3829, allocations: 99.61 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.3829, allocations: 0 / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3829, allocations: 4 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.674e-06/0.3829, allocations: 0 / 1.09 GB, free: 15.6 MB / 0.8575 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.0008466/0.3838, allocations: 395.2 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.3838, allocations: 12.03 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.668e-05/0.3839, allocations: 8.844 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002627/0.3842, allocations: 192.2 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.911e-05/0.3842, allocations: 8.375 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.317e-05/0.3843, allocations: 8.375 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004291/0.3847, allocations: 167.8 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.3847, allocations: 192 / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.966e-05/0.3847, allocations: 3.938 kB / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.3847, allocations: 0 / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004545/0.3852, allocations: 155.8 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000653/0.3859, allocations: 440.7 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003106/0.3862, allocations: 117.1 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002158/0.3864, allocations: 77.7 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.3864, allocations: 0 / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.3865, allocations: 30.56 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.3865, allocations: 0 / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0007756/0.3873, allocations: 229.4 kB / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.624e-05/0.3873, allocations: 77.11 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.3875, allocations: 133.7 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.3875, allocations: 29.95 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.629e-05/0.3876, allocations: 99.97 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.804e-05/0.3876, allocations: 19.92 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.475e-05/0.3877, allocations: 25.7 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.3878, allocations: 314.8 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002067/0.388, allocations: 59.92 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002063/0.3882, allocations: 81.62 kB / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003785/0.3886, allocations: 125.6 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.3886, allocations: 4 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004443/0.389, allocations: 169.4 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.3891, allocations: 8 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.3891, allocations: 0 / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.3891, allocations: 0 / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001852/0.3893, allocations: 24.34 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.3893, allocations: 3.938 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.3894, allocations: 20.03 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.3894, allocations: 4 kB / 1.093 GB, free: 12.36 MB / 0.8575 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.0001044/0.3896, allocations: 129.8 kB / 1.093 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.606e-05/0.3896, allocations: 7.906 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.442e-05/0.3896, allocations: 19.45 kB / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.3897, allocations: 0 / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.3897, allocations: 3.938 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.3897, allocations: 96 / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002511/0.3899, allocations: 201.6 kB / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3899, allocations: 0 / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001452/0.3901, allocations: 23.97 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.3901, allocations: 0 / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.3901, allocations: 0 / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.3901, allocations: 0 / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.3901, allocations: 7.875 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005284/0.3907, allocations: 336.1 kB / 1.093 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.191e-05/0.3907, allocations: 85 kB / 1.093 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.3908, allocations: 3.938 kB / 1.093 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001698/0.3909, allocations: 15.98 kB / 1.093 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.391, allocations: 31.89 kB / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.3911, allocations: 4 kB / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.112e-05/0.3911, allocations: 95.27 kB / 1.094 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3911, allocations: 0 / 1.094 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002808/0.3914, allocations: 12 kB / 1.094 GB, free: 11.3 MB / 0.8575 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.0001485/0.3916, allocations: 103.2 kB / 1.094 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004948/0.3921, allocations: 143.8 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3921, allocations: 4 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002603/0.3923, allocations: 87.89 kB / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003456/0.3927, allocations: 10.02 kB / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005423/0.3933, allocations: 202.6 kB / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003364/0.3936, allocations: 0.6963 MB / 1.095 GB, free: 10 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.691e-05/0.3937, allocations: 27.91 kB / 1.095 GB, free: 9.977 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.678e-05/0.3938, allocations: 15.72 kB / 1.095 GB, free: 9.961 MB / 0.8575 GB Notification: Performance of SimCode: time 4.61e-07/0.3938, allocations: 4 kB / 1.095 GB, free: 9.957 MB / 0.8575 GB Notification: Performance of Templates: time 0.004165/0.3979, allocations: 1.261 MB / 1.096 GB, free: 8.699 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches