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.001591/0.001591, allocations: 106.2 kB / 16.36 MB, free: 6.289 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.001653/0.001653, allocations: 192.5 kB / 17.29 MB, free: 5.863 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.413/1.413, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.237/2.237, allocations: 390.3 MB / 0.6655 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 75.58 kB / 0.814 GB, free: 32.62 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2868/0.288, allocations: 140.4 MB / 0.9511 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.00224/0.2903, allocations: 0.6595 MB / 0.9518 GB, free: 7.391 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009872/0.2913, allocations: 0.841 MB / 0.9526 GB, free: 6.539 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.163e-05/0.2914, allocations: 0 / 0.9526 GB, free: 6.539 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 9.385e-05/0.2915, allocations: 3.938 kB / 0.9526 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001034/0.2916, allocations: 4 kB / 0.9526 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001041/0.2917, allocations: 23.91 kB / 0.9526 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000124/0.2919, allocations: 67.89 kB / 0.9527 GB, free: 6.441 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001635/0.292, allocations: 35.97 kB / 0.9527 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.557e-05/0.2921, allocations: 43.78 kB / 0.9528 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.2922, allocations: 43.83 kB / 0.9528 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.702e-05/0.2922, allocations: 4 kB / 0.9528 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.517e-05/0.2923, allocations: 8 kB / 0.9528 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.091e-05/0.2923, allocations: 27.91 kB / 0.9529 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.814e-05/0.2924, allocations: 31.81 kB / 0.9529 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001344/0.2925, allocations: 87.73 kB / 0.953 GB, free: 6.164 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.2925, allocations: 0 / 0.953 GB, free: 6.164 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2926, allocations: 0 / 0.953 GB, free: 6.164 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.064e-05/0.2926, allocations: 0 / 0.953 GB, free: 6.164 MB / 0.7325 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.000696/0.2933, allocations: 415.1 kB / 0.9534 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.2933, allocations: 8.031 kB / 0.9534 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.917e-05/0.2934, allocations: 12.78 kB / 0.9534 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002176/0.2936, allocations: 188.4 kB / 0.9536 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.102e-05/0.2936, allocations: 8.312 kB / 0.9536 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/0.2937, allocations: 12.36 kB / 0.9536 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003626/0.294, allocations: 151.8 kB / 0.9537 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.294, allocations: 4.125 kB / 0.9537 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.2941, allocations: 7.938 kB / 0.9537 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.2941, allocations: 4 kB / 0.9537 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004126/0.2945, allocations: 147.8 kB / 0.9539 GB, free: 5.125 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005932/0.2951, allocations: 448.7 kB / 0.9543 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002865/0.2954, allocations: 117.1 kB / 0.9544 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001957/0.2956, allocations: 77.7 kB / 0.9545 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.2956, allocations: 4.062 kB / 0.9545 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/0.2957, allocations: 42.55 kB / 0.9545 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.753e-06/0.2957, allocations: 0 / 0.9545 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0007048/0.2964, allocations: 225.4 kB / 0.9548 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.386e-05/0.2964, allocations: 81.11 kB / 0.9548 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.2966, allocations: 133.6 kB / 0.955 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.2966, allocations: 25.7 kB / 0.955 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.658e-05/0.2967, allocations: 96.28 kB / 0.9551 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.982e-05/0.2967, allocations: 11.91 kB / 0.9551 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.617e-05/0.2967, allocations: 29.64 kB / 0.9551 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.2969, allocations: 314.8 kB / 0.9554 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001956/0.2971, allocations: 63.91 kB / 0.9555 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001853/0.2973, allocations: 77.58 kB / 0.9556 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003538/0.2976, allocations: 129.6 kB / 0.9557 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.2976, allocations: 0 / 0.9557 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004249/0.2981, allocations: 169.4 kB / 0.9558 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.2981, allocations: 4 kB / 0.9558 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.2981, allocations: 0 / 0.9558 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.2981, allocations: 4 kB / 0.9558 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.2983, allocations: 19.97 kB / 0.9559 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.2983, allocations: 3.938 kB / 0.9559 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.2984, allocations: 27.91 kB / 0.9559 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.2984, allocations: 4.062 kB / 0.9559 GB, free: 2.895 MB / 0.7325 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.0001093/0.2986, allocations: 125.8 kB / 0.956 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.452e-05/0.2986, allocations: 7.906 kB / 0.956 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.078e-05/0.2986, allocations: 11.52 kB / 0.956 GB, free: 2.738 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.2986, allocations: 0 / 0.956 GB, free: 2.738 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.2987, allocations: 7.938 kB / 0.956 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.2987, allocations: 0 / 0.956 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002492/0.2989, allocations: 189.6 kB / 0.9562 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.2989, allocations: 4.094 kB / 0.9562 GB, free: 2.492 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000139/0.2991, allocations: 27.91 kB / 0.9563 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.2991, allocations: 3.984 kB / 0.9563 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.2991, allocations: 4 kB / 0.9563 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.2991, allocations: 0 / 0.9563 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.2991, allocations: 3.938 kB / 0.9563 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004919/0.2996, allocations: 330.7 kB / 0.9566 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.014e-05/0.2997, allocations: 89 kB / 0.9567 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.2997, allocations: 0 / 0.9567 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.2999, allocations: 15.98 kB / 0.9567 GB, free: 1.992 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.815e-05/0.3, allocations: 31.89 kB / 0.9567 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.3, allocations: 3.938 kB / 0.9567 GB, free: 1.957 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.404e-05/0.3, allocations: 103.6 kB / 0.9568 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3, allocations: 0 / 0.9568 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002613/0.3003, allocations: 16 kB / 0.9568 GB, free: 1.84 MB / 0.7325 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.0001198/0.3004, allocations: 99.19 kB / 0.9569 GB, free: 1.734 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004253/0.3009, allocations: 139.9 kB / 0.9571 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3009, allocations: 0 / 0.9571 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002309/0.3011, allocations: 91.83 kB / 0.9571 GB, free: 1.508 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/0.3014, allocations: 22.03 kB / 0.9572 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004426/0.3019, allocations: 195.8 kB / 0.9574 GB, free: 1.27 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002786/0.3022, allocations: 0.7119 MB / 0.9581 GB, free: 0.5312 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.703e-05/0.3023, allocations: 15.98 kB / 0.9581 GB, free: 0.5156 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.603e-05/0.3023, allocations: 11.44 kB / 0.9581 GB, free: 0.5039 MB / 0.7325 GB Notification: Performance of SimCode: time 1.9e-07/0.3023, allocations: 0 / 0.9581 GB, free: 0.5039 MB / 0.7325 GB Notification: Performance of Templates: time 0.003565/0.3059, allocations: 1.264 MB / 0.9593 GB, free: 15.25 MB / 0.7481 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 -s gbode -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