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.001464/0.001464, allocations: 100.1 kB / 15.88 MB, free: 12 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.001737/0.001737, allocations: 200.7 kB / 16.79 MB, free: 6.809 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.348/1.348, allocations: 222.9 MB / 240.5 MB, free: 4.523 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.417/2.417, allocations: 390.2 MB / 0.6649 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 67.91 kB / 0.8125 GB, free: 14.85 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7937/0.7952, allocations: 140.3 MB / 0.9496 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.00252/0.7978, allocations: 0.7329 MB / 0.9503 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001168/0.799, allocations: 0.8284 MB / 0.9511 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.692e-05/0.799, allocations: 1.375 kB / 0.9511 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001314/0.7992, allocations: 11.92 kB / 0.9511 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001124/0.7993, allocations: 6.734 kB / 0.9511 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001371/0.7995, allocations: 20.11 kB / 0.9512 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001481/0.7996, allocations: 68.86 kB / 0.9512 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001779/0.7998, allocations: 32.11 kB / 0.9513 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.055e-05/0.7999, allocations: 29.36 kB / 0.9513 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.8, allocations: 43.72 kB / 0.9513 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.615e-05/0.8001, allocations: 4.75 kB / 0.9513 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.239e-05/0.8001, allocations: 2.938 kB / 0.9513 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.594e-05/0.8002, allocations: 20.3 kB / 0.9513 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.453e-05/0.8002, allocations: 31.5 kB / 0.9514 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001335/0.8004, allocations: 63.3 kB / 0.9514 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.8004, allocations: 4 kB / 0.9514 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.172e-06/0.8004, allocations: 4 kB / 0.9514 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.8004, allocations: 0 / 0.9514 GB, free: 7.695 MB / 0.7169 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.0008272/0.8013, allocations: 399.8 kB / 0.9518 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.8013, allocations: 9 kB / 0.9518 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.202e-05/0.8014, allocations: 8.625 kB / 0.9518 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001895/0.8016, allocations: 193.7 kB / 0.952 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.916e-05/0.8016, allocations: 11.52 kB / 0.952 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.913e-05/0.8017, allocations: 4.25 kB / 0.952 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005264/0.8022, allocations: 163.3 kB / 0.9522 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.8022, allocations: 192 / 0.9522 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.262e-05/0.8023, allocations: 8.906 kB / 0.9522 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.8023, allocations: 2 kB / 0.9522 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006939/0.803, allocations: 159.9 kB / 0.9524 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007259/0.8037, allocations: 441.6 kB / 0.9528 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004416/0.8042, allocations: 118.9 kB / 0.9529 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003301/0.8045, allocations: 79.22 kB / 0.953 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.704e-05/0.8046, allocations: 0 / 0.953 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.8046, allocations: 39.48 kB / 0.953 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.332e-06/0.8046, allocations: 0 / 0.953 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0009961/0.8056, allocations: 219.9 kB / 0.9532 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/0.8057, allocations: 86.44 kB / 0.9533 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.8058, allocations: 122.8 kB / 0.9534 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.8058, allocations: 30.77 kB / 0.9534 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.575e-05/0.8059, allocations: 107.1 kB / 0.9535 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.283e-05/0.8059, allocations: 9.922 kB / 0.9536 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.151e-05/0.806, allocations: 29.58 kB / 0.9536 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.091e-05/0.806, allocations: 320.1 kB / 0.9539 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002149/0.8063, allocations: 70.31 kB / 0.954 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002003/0.8065, allocations: 76.42 kB / 0.954 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003717/0.8068, allocations: 128.6 kB / 0.9542 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.8069, allocations: 0 / 0.9542 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004514/0.8073, allocations: 166 kB / 0.9543 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.8073, allocations: 5.5 kB / 0.9543 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.8074, allocations: 1.312 kB / 0.9543 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.8074, allocations: 0 / 0.9543 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001813/0.8076, allocations: 26.62 kB / 0.9543 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.8076, allocations: 5.281 kB / 0.9544 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001099/0.8077, allocations: 16.97 kB / 0.9544 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.8077, allocations: 1.312 kB / 0.9544 GB, free: 5.156 MB / 0.7169 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.598e-05/0.8078, allocations: 124.5 kB / 0.9545 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.623e-05/0.8079, allocations: 6.703 kB / 0.9545 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.039e-05/0.8079, allocations: 10.41 kB / 0.9545 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.8079, allocations: 9.562 kB / 0.9545 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.8079, allocations: 7.875 kB / 0.9545 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.8079, allocations: 1.781 kB / 0.9545 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002114/0.8081, allocations: 199.2 kB / 0.9547 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.8082, allocations: 0 / 0.9547 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001422/0.8083, allocations: 26.62 kB / 0.9547 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.8083, allocations: 1.094 kB / 0.9547 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.8083, allocations: 1.125 kB / 0.9547 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.8083, allocations: 3.984 kB / 0.9547 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.8083, allocations: 9.5 kB / 0.9548 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004898/0.8088, allocations: 322.4 kB / 0.9551 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.477e-05/0.8089, allocations: 87.72 kB / 0.9551 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/0.8089, allocations: 0.9375 kB / 0.9551 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/0.8091, allocations: 17.39 kB / 0.9552 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.56e-05/0.8092, allocations: 28.7 kB / 0.9552 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.265e-06/0.8092, allocations: 2.406 kB / 0.9552 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.705e-05/0.8092, allocations: 101.8 kB / 0.9553 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8092, allocations: 0 / 0.9553 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000283/0.8095, allocations: 20 kB / 0.9553 GB, free: 4.27 MB / 0.7169 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.0001308/0.8097, allocations: 110.6 kB / 0.9554 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004494/0.8101, allocations: 133 kB / 0.9555 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.8101, allocations: 0 / 0.9555 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000223/0.8104, allocations: 84.22 kB / 0.9556 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003612/0.8107, allocations: 10.84 kB / 0.9556 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005289/0.8113, allocations: 239.5 kB / 0.9559 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002187/0.8115, allocations: 0.7036 MB / 0.9565 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.535e-05/0.8116, allocations: 11.19 kB / 0.9566 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of SimCode: time 5.21e-07/0.8116, allocations: 0 / 0.9566 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of Templates: time 0.00342/0.815, allocations: 1.21 MB / 0.9577 GB, free: 2.523 MB / 0.7169 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/jenkins1/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