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.008683/0.008683, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001617/0.001617, allocations: 186.3 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.498/1.498, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.933/2.933, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 67.89 kB / 1.054 GB, free: 7.121 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3753/0.3768, allocations: 157.4 MB / 1.208 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.002097/0.379, allocations: 0.6672 MB / 1.208 GB, free: 8.945 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00104/0.38, allocations: 0.8312 MB / 1.209 GB, free: 8.102 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.396e-05/0.3801, allocations: 0 / 1.209 GB, free: 8.102 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001164/0.3802, allocations: 3.938 kB / 1.209 GB, free: 8.098 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.791e-05/0.3803, allocations: 11.94 kB / 1.209 GB, free: 8.086 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001212/0.3805, allocations: 19.98 kB / 1.209 GB, free: 8.066 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001449/0.3806, allocations: 75.75 kB / 1.209 GB, free: 7.992 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000166/0.3808, allocations: 35.97 kB / 1.209 GB, free: 7.957 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.286e-05/0.3809, allocations: 39.89 kB / 1.209 GB, free: 7.918 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.665e-05/0.381, allocations: 39.89 kB / 1.209 GB, free: 7.879 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.258e-05/0.381, allocations: 4 kB / 1.209 GB, free: 7.875 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.503e-05/0.381, allocations: 4 kB / 1.209 GB, free: 7.871 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.831e-05/0.3811, allocations: 27.92 kB / 1.209 GB, free: 7.844 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.703e-05/0.3811, allocations: 31.8 kB / 1.209 GB, free: 7.812 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001247/0.3813, allocations: 91.73 kB / 1.21 GB, free: 7.723 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3813, allocations: 3.938 kB / 1.21 GB, free: 7.719 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3813, allocations: 4 kB / 1.21 GB, free: 7.715 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.3813, allocations: 0 / 1.21 GB, free: 7.715 MB / 0.9669 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.000601/0.3819, allocations: 407.1 kB / 1.21 GB, free: 7.266 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.3819, allocations: 8.625 kB / 1.21 GB, free: 7.258 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.467e-05/0.382, allocations: 8.844 kB / 1.21 GB, free: 7.25 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001813/0.3822, allocations: 184.3 kB / 1.21 GB, free: 7.031 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/0.3822, allocations: 4.375 kB / 1.21 GB, free: 7.027 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.822e-05/0.3822, allocations: 12.38 kB / 1.21 GB, free: 7.016 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003824/0.3826, allocations: 159.8 kB / 1.21 GB, free: 6.848 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-06/0.3826, allocations: 192 / 1.21 GB, free: 6.848 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.3826, allocations: 7.938 kB / 1.21 GB, free: 6.84 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.3827, allocations: 0 / 1.21 GB, free: 6.84 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004332/0.3831, allocations: 159.8 kB / 1.21 GB, free: 6.684 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005474/0.3836, allocations: 444.7 kB / 1.211 GB, free: 6.195 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002864/0.3839, allocations: 121.1 kB / 1.211 GB, free: 6.059 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002074/0.3842, allocations: 73.7 kB / 1.211 GB, free: 5.98 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.3842, allocations: 3.938 kB / 1.211 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.3842, allocations: 30.56 kB / 1.211 GB, free: 5.938 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.3842, allocations: 0 / 1.211 GB, free: 5.938 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0007615/0.385, allocations: 237.3 kB / 1.211 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/0.385, allocations: 77.11 kB / 1.211 GB, free: 5.605 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.818e-05/0.3851, allocations: 125.8 kB / 1.212 GB, free: 5.473 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.3852, allocations: 33.95 kB / 1.212 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.648e-05/0.3852, allocations: 99.97 kB / 1.212 GB, free: 5.332 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.317e-05/0.3853, allocations: 11.81 kB / 1.212 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.2e-05/0.3853, allocations: 29.64 kB / 1.212 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.3854, allocations: 310.8 kB / 1.212 GB, free: 4.973 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002143/0.3856, allocations: 63.92 kB / 1.212 GB, free: 4.91 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001993/0.3859, allocations: 81.62 kB / 1.212 GB, free: 4.824 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00038/0.3862, allocations: 121.6 kB / 1.212 GB, free: 4.699 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3862, allocations: 0 / 1.212 GB, free: 4.699 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000458/0.3867, allocations: 169.5 kB / 1.212 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.3867, allocations: 4 kB / 1.212 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.3867, allocations: 0 / 1.212 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.3868, allocations: 0 / 1.212 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001802/0.3869, allocations: 23.97 kB / 1.212 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.387, allocations: 7.922 kB / 1.212 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.3871, allocations: 31.88 kB / 1.212 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.3871, allocations: 4 kB / 1.212 GB, free: 4.457 MB / 0.9669 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 9.477e-05/0.3872, allocations: 128.9 kB / 1.213 GB, free: 4.324 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.129e-05/0.3872, allocations: 0 / 1.213 GB, free: 4.324 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.509e-05/0.3873, allocations: 15.52 kB / 1.213 GB, free: 4.305 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.3873, allocations: 3.938 kB / 1.213 GB, free: 4.301 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.3873, allocations: 3.938 kB / 1.213 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.3873, allocations: 0 / 1.213 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002408/0.3876, allocations: 201.8 kB / 1.213 GB, free: 4.051 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3876, allocations: 0 / 1.213 GB, free: 4.051 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001466/0.3877, allocations: 23.97 kB / 1.213 GB, free: 4.027 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.3877, allocations: 384 / 1.213 GB, free: 4.027 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.3877, allocations: 0 / 1.213 GB, free: 4.027 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.3877, allocations: 0 / 1.213 GB, free: 4.027 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.3878, allocations: 7.938 kB / 1.213 GB, free: 4.02 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005035/0.3883, allocations: 342.6 kB / 1.213 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.584e-05/0.3883, allocations: 77.11 kB / 1.213 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.3883, allocations: 11.92 kB / 1.213 GB, free: 3.562 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001625/0.3885, allocations: 19.92 kB / 1.213 GB, free: 3.543 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.465e-05/0.3886, allocations: 27.89 kB / 1.213 GB, free: 3.516 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.116e-06/0.3886, allocations: 8 kB / 1.213 GB, free: 3.508 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.692e-05/0.3887, allocations: 91.27 kB / 1.213 GB, free: 3.418 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3887, allocations: 0 / 1.213 GB, free: 3.418 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002673/0.3889, allocations: 19.91 kB / 1.213 GB, free: 3.398 MB / 0.9669 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.0001305/0.3891, allocations: 99.25 kB / 1.214 GB, free: 3.293 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000463/0.3895, allocations: 143.8 kB / 1.214 GB, free: 3.152 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3896, allocations: 0 / 1.214 GB, free: 3.152 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002433/0.3898, allocations: 87.89 kB / 1.214 GB, free: 3.066 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003383/0.3902, allocations: 22.05 kB / 1.214 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004345/0.3906, allocations: 202.3 kB / 1.214 GB, free: 2.82 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002367/0.3908, allocations: 0.7002 MB / 1.215 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 6.578e-05/0.3909, allocations: 23.97 kB / 1.215 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.569e-05/0.391, allocations: 15.38 kB / 1.215 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of SimCode: time 5.51e-07/0.391, allocations: 4 kB / 1.215 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of Templates: time 0.003451/0.3944, allocations: 1.278 MB / 1.216 GB, free: 0.7812 MB / 0.9669 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