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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.006624/0.006624, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.001754/0.001754, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.475/1.475, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.568/2.568, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 67.89 kB / 1.054 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.014/1.015, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.001989/1.017, allocations: 0.6749 MB / 1.208 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001035/1.018, allocations: 0.839 MB / 1.209 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.246e-05/1.018, allocations: 0 / 1.209 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001122/1.019, allocations: 3.938 kB / 1.209 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001114/1.019, allocations: 7.938 kB / 1.209 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001517/1.019, allocations: 27.91 kB / 1.209 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001394/1.019, allocations: 71.83 kB / 1.209 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001655/1.019, allocations: 31.98 kB / 1.209 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.909e-05/1.019, allocations: 39.89 kB / 1.209 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/1.019, allocations: 43.83 kB / 1.209 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.463e-05/1.019, allocations: 4 kB / 1.209 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.602e-05/1.019, allocations: 11.94 kB / 1.209 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 6.214e-05/1.02, allocations: 23.97 kB / 1.209 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.714e-05/1.02, allocations: 27.81 kB / 1.209 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001262/1.02, allocations: 87.73 kB / 1.21 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/1.02, allocations: 0 / 1.21 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.312e-06/1.02, allocations: 0 / 1.21 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.327e-06/1.02, allocations: 0 / 1.21 GB, free: 11.74 MB / 0.9356 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.0006311/1.02, allocations: 412.9 kB / 1.21 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/1.02, allocations: 8.031 kB / 1.21 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.025e-05/1.02, allocations: 8.844 kB / 1.21 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001874/1.021, allocations: 192.2 kB / 1.21 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.986e-05/1.021, allocations: 8.359 kB / 1.21 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.571e-05/1.021, allocations: 4.375 kB / 1.21 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003663/1.021, allocations: 159.8 kB / 1.21 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/1.021, allocations: 192 / 1.21 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/1.021, allocations: 3.938 kB / 1.21 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/1.021, allocations: 4 kB / 1.21 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004287/1.022, allocations: 159.8 kB / 1.21 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005454/1.022, allocations: 452.6 kB / 1.211 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002729/1.022, allocations: 113.1 kB / 1.211 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002043/1.023, allocations: 77.7 kB / 1.211 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/1.023, allocations: 3.938 kB / 1.211 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/1.023, allocations: 38.55 kB / 1.211 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/1.023, allocations: 0 / 1.211 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.000884/1.024, allocations: 229.3 kB / 1.211 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.753e-05/1.024, allocations: 85.09 kB / 1.211 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/1.024, allocations: 121.8 kB / 1.212 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/1.024, allocations: 25.7 kB / 1.212 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.284e-05/1.024, allocations: 100.2 kB / 1.212 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/1.024, allocations: 15.81 kB / 1.212 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.001e-05/1.024, allocations: 21.7 kB / 1.212 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001384/1.024, allocations: 318.8 kB / 1.212 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002602/1.024, allocations: 63.91 kB / 1.212 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002573/1.025, allocations: 77.64 kB / 1.212 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005024/1.025, allocations: 129.5 kB / 1.212 GB, free: 8.711 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/1.025, allocations: 0 / 1.212 GB, free: 8.711 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0005908/1.026, allocations: 161.5 kB / 1.212 GB, free: 8.547 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/1.026, allocations: 4 kB / 1.212 GB, free: 8.543 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/1.026, allocations: 0 / 1.212 GB, free: 8.543 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/1.026, allocations: 7.938 kB / 1.212 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002154/1.026, allocations: 19.97 kB / 1.212 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/1.026, allocations: 3.938 kB / 1.212 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001497/1.026, allocations: 24.03 kB / 1.212 GB, free: 8.488 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/1.026, allocations: 4 kB / 1.212 GB, free: 8.484 MB / 0.9356 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.0001493/1.026, allocations: 125.8 kB / 1.213 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.15e-05/1.027, allocations: 7.891 kB / 1.213 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.052e-05/1.027, allocations: 11.53 kB / 1.213 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/1.027, allocations: 0 / 1.213 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.647e-06/1.027, allocations: 4.031 kB / 1.213 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/1.027, allocations: 7.984 kB / 1.213 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003831/1.027, allocations: 194.1 kB / 1.213 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/1.027, allocations: 4 kB / 1.213 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001753/1.027, allocations: 23.97 kB / 1.213 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/1.027, allocations: 0 / 1.213 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/1.027, allocations: 3.938 kB / 1.213 GB, free: 8.043 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/1.027, allocations: 11.92 kB / 1.213 GB, free: 8.031 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/1.027, allocations: 3.938 kB / 1.213 GB, free: 8.027 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006516/1.028, allocations: 334.5 kB / 1.213 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.62e-05/1.028, allocations: 89.03 kB / 1.213 GB, free: 7.578 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.197e-05/1.028, allocations: 0 / 1.213 GB, free: 7.578 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000224/1.028, allocations: 15.98 kB / 1.213 GB, free: 7.562 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/1.028, allocations: 27.89 kB / 1.213 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/1.028, allocations: 8 kB / 1.213 GB, free: 7.527 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.484e-05/1.029, allocations: 99.27 kB / 1.213 GB, free: 7.43 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.9e-07/1.029, allocations: 0 / 1.213 GB, free: 7.43 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004548/1.029, allocations: 11.91 kB / 1.213 GB, free: 7.418 MB / 0.9356 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.0001649/1.029, allocations: 107.2 kB / 1.214 GB, free: 7.305 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006312/1.03, allocations: 139.9 kB / 1.214 GB, free: 7.168 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.03, allocations: 0 / 1.214 GB, free: 7.168 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003281/1.03, allocations: 91.83 kB / 1.214 GB, free: 7.078 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004768/1.031, allocations: 7.984 kB / 1.214 GB, free: 7.07 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006271/1.031, allocations: 202.5 kB / 1.214 GB, free: 6.844 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003879/1.032, allocations: 0.708 MB / 1.215 GB, free: 6.109 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 9.324e-05/1.032, allocations: 15.98 kB / 1.215 GB, free: 6.094 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.823e-05/1.032, allocations: 11.44 kB / 1.215 GB, free: 6.082 MB / 0.9356 GB Notification: Performance of SimCode: time 2.61e-07/1.032, allocations: 0 / 1.215 GB, free: 6.082 MB / 0.9356 GB Notification: Performance of Templates: time 0.004931/1.037, allocations: 1.267 MB / 1.216 GB, free: 4.824 MB / 0.9356 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