Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.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_10_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_10_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.0008088/0.0008089, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009087/0.0009092, allocations: 186.5 kB / 16.92 MB, free: 6.77 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.427/1.427, allocations: 223.3 MB / 241 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.79/2.79, allocations: 437.8 MB / 0.7128 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004082/0.0004084, allocations: 11.98 kB / 0.8735 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.641/0.6414, allocations: 153.8 MB / 1.024 GB, free: 8 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.0008733/0.6423, allocations: 405 kB / 1.024 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0009991/0.6434, allocations: 0.8235 MB / 1.025 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.568e-05/0.6434, allocations: 3.938 kB / 1.025 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 9.074e-05/0.6435, allocations: 0 / 1.025 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.942e-05/0.6436, allocations: 15.92 kB / 1.025 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001179/0.6438, allocations: 15.98 kB / 1.025 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001163/0.6439, allocations: 67.83 kB / 1.025 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.644, allocations: 35.95 kB / 1.025 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.791e-05/0.6441, allocations: 27.86 kB / 1.025 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.703e-05/0.6442, allocations: 31.89 kB / 1.025 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.147e-05/0.6442, allocations: 0 / 1.025 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.462e-05/0.6443, allocations: 8 kB / 1.025 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.316e-05/0.6443, allocations: 19.92 kB / 1.025 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.922e-05/0.6444, allocations: 57.5 kB / 1.025 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001018/0.6445, allocations: 67.86 kB / 1.025 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.6445, allocations: 0 / 1.025 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6445, allocations: 0 / 1.025 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.6445, allocations: 0 / 1.025 GB, free: 14.43 MB / 0.7794 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.0006488/0.6452, allocations: 397.4 kB / 1.026 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.6452, allocations: 8.031 kB / 1.026 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.593e-05/0.6453, allocations: 12.83 kB / 1.026 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001862/0.6455, allocations: 196.2 kB / 1.026 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.782e-05/0.6455, allocations: 4.375 kB / 1.026 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.841e-05/0.6455, allocations: 12.31 kB / 1.026 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004064/0.646, allocations: 167.8 kB / 1.026 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.646, allocations: 4.188 kB / 1.026 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.751e-05/0.646, allocations: 7.938 kB / 1.026 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.646, allocations: 0 / 1.026 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004862/0.6465, allocations: 175.8 kB / 1.026 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006104/0.6471, allocations: 448.7 kB / 1.027 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003082/0.6474, allocations: 129 kB / 1.027 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002371/0.6477, allocations: 89.7 kB / 1.027 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/0.6477, allocations: 0 / 1.027 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.6477, allocations: 38.5 kB / 1.027 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.6478, allocations: 0 / 1.027 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.000817/0.6486, allocations: 265.5 kB / 1.027 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/0.6486, allocations: 77.11 kB / 1.027 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.6487, allocations: 129.8 kB / 1.027 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.6488, allocations: 25.7 kB / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.367e-05/0.6488, allocations: 95.98 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.952e-05/0.6489, allocations: 15.8 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.412e-05/0.6489, allocations: 13.72 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.649, allocations: 322.9 kB / 1.028 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002245/0.6493, allocations: 71.91 kB / 1.028 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002308/0.6495, allocations: 89.64 kB / 1.028 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004247/0.6499, allocations: 153.5 kB / 1.028 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.65, allocations: 0 / 1.028 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004916/0.6505, allocations: 177.5 kB / 1.028 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.6505, allocations: 8 kB / 1.028 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.6505, allocations: 8 kB / 1.028 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.6505, allocations: 0 / 1.028 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002059/0.6507, allocations: 35.89 kB / 1.028 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.6508, allocations: 7.922 kB / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001255/0.6509, allocations: 23.89 kB / 1.028 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.6509, allocations: 4 kB / 1.028 GB, free: 11.02 MB / 0.7794 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.0001093/0.651, allocations: 138.7 kB / 1.028 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.624e-05/0.6511, allocations: 4 kB / 1.028 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.163e-05/0.6511, allocations: 7.531 kB / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.6511, allocations: 0 / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.6511, allocations: 11.97 kB / 1.028 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.6511, allocations: 3.984 kB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002577/0.6514, allocations: 193.8 kB / 1.029 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.6514, allocations: 0 / 1.029 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001497/0.6516, allocations: 31.97 kB / 1.029 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.6516, allocations: 0 / 1.029 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.6516, allocations: 7.984 kB / 1.029 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.6516, allocations: 0 / 1.029 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/0.6516, allocations: 3.938 kB / 1.029 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005534/0.6522, allocations: 358.5 kB / 1.029 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.237e-05/0.6522, allocations: 85.11 kB / 1.029 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.6523, allocations: 0 / 1.029 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001834/0.6525, allocations: 19.97 kB / 1.029 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.843e-05/0.6525, allocations: 27.91 kB / 1.029 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-06/0.6526, allocations: 4 kB / 1.029 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.008e-05/0.6526, allocations: 95.27 kB / 1.029 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6526, allocations: 0 / 1.029 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002857/0.6529, allocations: 23.84 kB / 1.029 GB, free: 9.926 MB / 0.7794 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.0001385/0.6531, allocations: 103.2 kB / 1.029 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005106/0.6536, allocations: 163.8 kB / 1.03 GB, free: 9.652 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.6536, allocations: 0 / 1.03 GB, free: 9.652 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002559/0.6539, allocations: 92.03 kB / 1.03 GB, free: 9.562 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003647/0.6542, allocations: 12.75 kB / 1.03 GB, free: 9.551 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004981/0.6547, allocations: 235.2 kB / 1.03 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002748/0.655, allocations: 0.7043 MB / 1.031 GB, free: 8.555 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.931e-05/0.6551, allocations: 11.44 kB / 1.031 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of SimCode: time 5.21e-07/0.6551, allocations: 0 / 1.031 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of Templates: time 0.00284/0.6579, allocations: 1.21 MB / 1.032 GB, free: 7.344 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches