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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.005495/0.005495, allocations: 110.2 kB / 15.71 MB, free: 6.48 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.00108/0.00108, allocations: 194.8 kB / 16.65 MB, free: 6.391 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.43/1.43, allocations: 222.9 MB / 240.3 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.429/2.429, allocations: 390.3 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 66.95 kB / 0.9509 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3478, allocations: 140.4 MB / 1.088 GB, free: 1.457 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.001959/0.3498, allocations: 0.6754 MB / 1.089 GB, free: 0.7812 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009886/0.3508, allocations: 0.8238 MB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.375e-05/0.3509, allocations: 7.938 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001072/0.351, allocations: 7.922 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.838e-05/0.3511, allocations: 4 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001267/0.3512, allocations: 23.92 kB / 1.089 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001355/0.3514, allocations: 75.81 kB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001709/0.3515, allocations: 31.98 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.173e-05/0.3516, allocations: 35.84 kB / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.3517, allocations: 47.83 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.6e-05/0.3518, allocations: 4 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.514e-05/0.3518, allocations: 4 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.1e-05/0.3519, allocations: 27.91 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.333e-05/0.3519, allocations: 35.8 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001413/0.3521, allocations: 99.61 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.3521, allocations: 4 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.234e-06/0.3521, allocations: 0 / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.3521, allocations: 0 / 1.09 GB, free: 15.54 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.0006694/0.3528, allocations: 393.3 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.3528, allocations: 8.031 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.858e-05/0.3529, allocations: 16.83 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001926/0.3531, allocations: 188.2 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.279e-05/0.3531, allocations: 8.375 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.3531, allocations: 8.375 kB / 1.09 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003759/0.3535, allocations: 159.8 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.3535, allocations: 192 / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.3536, allocations: 3.938 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.3536, allocations: 0 / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004363/0.354, allocations: 163.8 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005534/0.3546, allocations: 436.7 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00028/0.3549, allocations: 121.1 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002013/0.3551, allocations: 77.64 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.3551, allocations: 0 / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.3551, allocations: 30.56 kB / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.3551, allocations: 7.938 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0007236/0.3559, allocations: 225.4 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.166e-05/0.3559, allocations: 81.11 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.356, allocations: 129.9 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.3561, allocations: 29.7 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.001e-05/0.3561, allocations: 92.05 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.589e-05/0.3562, allocations: 16.2 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-05/0.3562, allocations: 21.72 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.3564, allocations: 318.8 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001938/0.3566, allocations: 63.92 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001943/0.3568, allocations: 81.56 kB / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000357/0.3571, allocations: 129.5 kB / 1.093 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.3571, allocations: 0 / 1.093 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000417/0.3576, allocations: 169.4 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.3576, allocations: 8 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.3576, allocations: 0 / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.3576, allocations: 0 / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001758/0.3578, allocations: 27.97 kB / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.338e-05/0.3578, allocations: 11.98 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.3579, allocations: 19.91 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.3579, allocations: 8 kB / 1.093 GB, free: 12.29 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.0001032/0.358, allocations: 121.8 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.084e-05/0.3581, allocations: 7.906 kB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.403e-05/0.3581, allocations: 11.53 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3581, allocations: 0 / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.3582, allocations: 3.938 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.3582, allocations: 7.984 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002364/0.3584, allocations: 197.8 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3584, allocations: 0 / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001328/0.3585, allocations: 23.97 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3586, allocations: 0 / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.3586, allocations: 0 / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.3586, allocations: 3.938 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.3586, allocations: 7.938 kB / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004983/0.3591, allocations: 336.2 kB / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.04e-05/0.3591, allocations: 81.02 kB / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/0.3592, allocations: 0 / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001577/0.3593, allocations: 19.97 kB / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.902e-05/0.3594, allocations: 31.91 kB / 1.094 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/0.3594, allocations: 4 kB / 1.094 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.93e-05/0.3595, allocations: 95.25 kB / 1.094 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3595, allocations: 0 / 1.094 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002623/0.3598, allocations: 12 kB / 1.094 GB, free: 11.25 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.0001328/0.3599, allocations: 115.3 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004721/0.3604, allocations: 139.8 kB / 1.094 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3604, allocations: 0 / 1.094 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002356/0.3606, allocations: 95.77 kB / 1.094 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003391/0.361, allocations: 4 kB / 1.094 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000471/0.3615, allocations: 202.6 kB / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.3618, allocations: 0.7002 MB / 1.095 GB, free: 9.938 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.481e-05/0.3618, allocations: 19.98 kB / 1.095 GB, free: 9.918 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.281e-05/0.3619, allocations: 19.42 kB / 1.095 GB, free: 9.898 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.3619, allocations: 4 kB / 1.095 GB, free: 9.895 MB / 0.8575 GB Notification: Performance of Templates: time 0.003598/0.3655, allocations: 1.258 MB / 1.096 GB, free: 8.645 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