Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001062/0.001063, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.01013/0.01013, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.542/1.542, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.984/2.984, allocations: 462.6 MB / 0.7363 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003706/0.0003706, allocations: 12.78 kB / 0.9027 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4005/0.4009, allocations: 159.6 MB / 1.059 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.001052/0.402, allocations: 403.2 kB / 1.059 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001133/0.4032, allocations: 0.8274 MB / 1.06 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.05e-05/0.4033, allocations: 3.938 kB / 1.06 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000106/0.4034, allocations: 3.984 kB / 1.06 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001105/0.4035, allocations: 7.938 kB / 1.06 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001358/0.4036, allocations: 19.97 kB / 1.06 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001273/0.4038, allocations: 63.84 kB / 1.06 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001757/0.404, allocations: 31.89 kB / 1.06 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.56e-05/0.4041, allocations: 31.84 kB / 1.06 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.4042, allocations: 35.89 kB / 1.06 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.42e-05/0.4042, allocations: 0 / 1.06 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.357e-05/0.4042, allocations: 4 kB / 1.06 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.734e-05/0.4043, allocations: 27.91 kB / 1.06 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.338e-05/0.4044, allocations: 53.5 kB / 1.06 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001343/0.4045, allocations: 79.73 kB / 1.06 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.4045, allocations: 0 / 1.06 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.775e-06/0.4045, allocations: 0 / 1.06 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.271e-06/0.4046, allocations: 0 / 1.06 GB, free: 3.352 MB / 0.8106 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.0007214/0.4053, allocations: 403.6 kB / 1.061 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.4053, allocations: 11.97 kB / 1.061 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.878e-05/0.4054, allocations: 8.844 kB / 1.061 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001849/0.4056, allocations: 192.2 kB / 1.061 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.019e-05/0.4056, allocations: 4.375 kB / 1.061 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.277e-05/0.4057, allocations: 8.375 kB / 1.061 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004257/0.4061, allocations: 167.8 kB / 1.061 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.4061, allocations: 192 / 1.061 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.171e-05/0.4061, allocations: 11.94 kB / 1.061 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.4061, allocations: 3.938 kB / 1.061 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004959/0.4067, allocations: 183.7 kB / 1.061 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006555/0.4073, allocations: 436.7 kB / 1.062 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000321/0.4076, allocations: 133.1 kB / 1.062 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002327/0.4079, allocations: 85.7 kB / 1.062 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.4079, allocations: 4 kB / 1.062 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.408, allocations: 34.5 kB / 1.062 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.593e-06/0.408, allocations: 0 / 1.062 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.000849/0.4088, allocations: 269.5 kB / 1.062 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.507e-05/0.4089, allocations: 77.11 kB / 1.062 GB, free: 1.148 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.409, allocations: 125.8 kB / 1.062 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/0.4091, allocations: 25.7 kB / 1.062 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.629e-05/0.4092, allocations: 99.94 kB / 1.062 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.853e-05/0.4092, allocations: 15.97 kB / 1.062 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.658e-05/0.4093, allocations: 13.72 kB / 1.062 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.4094, allocations: 318.8 kB / 1.063 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002297/0.4096, allocations: 71.92 kB / 1.063 GB, free: 468 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002306/0.4099, allocations: 85.64 kB / 1.063 GB, free: 376 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004508/0.4103, allocations: 157.5 kB / 1.063 GB, free: 212 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/0.4104, allocations: 3.938 kB / 1.063 GB, free: 208 kB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0005443/0.4109, allocations: 189.5 kB / 1.063 GB, free: 12 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.4109, allocations: 4 kB / 1.063 GB, free: 8 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.411, allocations: 4.375 kB / 1.063 GB, free: 4 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.432e-05/0.411, allocations: 3.984 kB / 1.063 GB, free: 0 / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002333/0.4112, allocations: 31.91 kB / 1.063 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.342e-05/0.4113, allocations: 3.938 kB / 1.063 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/0.4114, allocations: 27.89 kB / 1.063 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.565e-05/0.4114, allocations: 7.984 kB / 1.063 GB, free: 15.93 MB / 0.8262 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.0001502/0.4116, allocations: 125.8 kB / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.038e-05/0.4116, allocations: 4 kB / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.62e-05/0.4117, allocations: 11.53 kB / 1.063 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.4117, allocations: 0 / 1.063 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/0.4117, allocations: 3.938 kB / 1.063 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.4117, allocations: 0 / 1.063 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002981/0.412, allocations: 201.9 kB / 1.064 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.4121, allocations: 0 / 1.064 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001537/0.4122, allocations: 35.94 kB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.658e-06/0.4122, allocations: 0 / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.4122, allocations: 0 / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.4123, allocations: 4 kB / 1.064 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.4123, allocations: 3.938 kB / 1.064 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006445/0.4129, allocations: 362.5 kB / 1.064 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.58e-05/0.413, allocations: 81.02 kB / 1.064 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/0.413, allocations: 4 kB / 1.064 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001842/0.4132, allocations: 19.97 kB / 1.064 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.4133, allocations: 23.91 kB / 1.064 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.4133, allocations: 4 kB / 1.064 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.59e-05/0.4134, allocations: 107.2 kB / 1.064 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4134, allocations: 0 / 1.064 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003035/0.4137, allocations: 8 kB / 1.064 GB, free: 14.86 MB / 0.8262 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.0002065/0.4139, allocations: 103.2 kB / 1.064 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005406/0.4145, allocations: 159.8 kB / 1.064 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/0.4145, allocations: 4 kB / 1.064 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002782/0.4148, allocations: 100 kB / 1.065 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003957/0.4152, allocations: 11.94 kB / 1.065 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006111/0.4158, allocations: 220.4 kB / 1.065 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000343/0.4162, allocations: 0.7046 MB / 1.065 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.786e-05/0.4163, allocations: 20.23 kB / 1.065 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.913e-05/0.4163, allocations: 11.44 kB / 1.065 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of SimCode: time 1.153e-06/0.4163, allocations: 3.938 kB / 1.065 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of Templates: time 0.00415/0.4205, allocations: 1.053 MB / 1.067 GB, free: 12.42 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches