Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001499/0.001499, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.001741/0.001741, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.326/1.326, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.464/2.464, allocations: 437.1 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 67.45 kB / 0.8707 GB, free: 1.43 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2827, allocations: 151.6 MB / 1.019 GB, free: 9.844 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.00193/0.2846, allocations: 0.6715 MB / 1.019 GB, free: 9.168 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0008516/0.2855, allocations: 0.8351 MB / 1.02 GB, free: 8.32 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.716e-05/0.2856, allocations: 0 / 1.02 GB, free: 8.32 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 9.288e-05/0.2857, allocations: 3.938 kB / 1.02 GB, free: 8.316 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.652e-05/0.2858, allocations: 11.92 kB / 1.02 GB, free: 8.305 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001049/0.2859, allocations: 27.97 kB / 1.02 GB, free: 8.277 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001202/0.286, allocations: 75.75 kB / 1.02 GB, free: 8.203 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.2862, allocations: 35.89 kB / 1.02 GB, free: 8.168 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.682e-05/0.2862, allocations: 31.92 kB / 1.02 GB, free: 8.137 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 8.741e-05/0.2863, allocations: 43.83 kB / 1.02 GB, free: 8.094 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.925e-05/0.2863, allocations: 4 kB / 1.02 GB, free: 8.09 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.564e-05/0.2864, allocations: 8 kB / 1.02 GB, free: 8.082 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 5.399e-05/0.2864, allocations: 23.97 kB / 1.021 GB, free: 8.059 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.097e-05/0.2865, allocations: 35.78 kB / 1.021 GB, free: 8.023 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001239/0.2866, allocations: 99.61 kB / 1.021 GB, free: 7.926 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2866, allocations: 0 / 1.021 GB, free: 7.926 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.273e-06/0.2866, allocations: 4 kB / 1.021 GB, free: 7.922 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.2866, allocations: 0 / 1.021 GB, free: 7.922 MB / 0.795 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.0005827/0.2872, allocations: 399.2 kB / 1.021 GB, free: 7.48 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.2873, allocations: 8.922 kB / 1.021 GB, free: 7.473 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.821e-05/0.2873, allocations: 12.78 kB / 1.021 GB, free: 7.461 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001809/0.2875, allocations: 188.4 kB / 1.021 GB, free: 7.238 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.2875, allocations: 4.312 kB / 1.021 GB, free: 7.234 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.974e-05/0.2876, allocations: 12.36 kB / 1.021 GB, free: 7.223 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000349/0.2879, allocations: 160.3 kB / 1.021 GB, free: 7.055 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.2879, allocations: 192 / 1.021 GB, free: 7.055 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.288, allocations: 7.938 kB / 1.021 GB, free: 7.047 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.288, allocations: 4 kB / 1.021 GB, free: 7.043 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004215/0.2884, allocations: 151.8 kB / 1.022 GB, free: 6.895 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005459/0.289, allocations: 448.7 kB / 1.022 GB, free: 6.402 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002679/0.2892, allocations: 117.1 kB / 1.022 GB, free: 6.27 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001992/0.2894, allocations: 79.22 kB / 1.022 GB, free: 6.188 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.2895, allocations: 0 / 1.022 GB, free: 6.188 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.2895, allocations: 38.5 kB / 1.022 GB, free: 6.141 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.2895, allocations: 0 / 1.022 GB, free: 6.141 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.000694/0.2902, allocations: 225.5 kB / 1.022 GB, free: 5.914 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/0.2903, allocations: 85.05 kB / 1.023 GB, free: 5.812 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.648e-05/0.2904, allocations: 133.6 kB / 1.023 GB, free: 5.672 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.2904, allocations: 25.95 kB / 1.023 GB, free: 5.641 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.24e-05/0.2904, allocations: 96.05 kB / 1.023 GB, free: 5.543 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.772e-05/0.2905, allocations: 7.906 kB / 1.023 GB, free: 5.535 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.561e-05/0.2905, allocations: 25.7 kB / 1.023 GB, free: 5.504 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.235e-05/0.2906, allocations: 318.8 kB / 1.023 GB, free: 5.184 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001953/0.2908, allocations: 59.92 kB / 1.023 GB, free: 5.125 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000191/0.291, allocations: 81.62 kB / 1.023 GB, free: 5.039 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003776/0.2914, allocations: 129.5 kB / 1.023 GB, free: 4.906 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.2914, allocations: 0 / 1.023 GB, free: 4.906 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004172/0.2918, allocations: 161.5 kB / 1.023 GB, free: 4.742 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.2919, allocations: 4.375 kB / 1.024 GB, free: 4.738 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.2919, allocations: 3.984 kB / 1.024 GB, free: 4.734 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.2919, allocations: 4 kB / 1.024 GB, free: 4.73 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001692/0.2921, allocations: 19.97 kB / 1.024 GB, free: 4.711 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.2921, allocations: 11.81 kB / 1.024 GB, free: 4.699 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.2922, allocations: 27.98 kB / 1.024 GB, free: 4.672 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.2922, allocations: 3.984 kB / 1.024 GB, free: 4.668 MB / 0.795 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.362e-05/0.2923, allocations: 126.5 kB / 1.024 GB, free: 4.535 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.517e-05/0.2924, allocations: 7.844 kB / 1.024 GB, free: 4.527 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.886e-05/0.2924, allocations: 11.53 kB / 1.024 GB, free: 4.516 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.2924, allocations: 0 / 1.024 GB, free: 4.516 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.2924, allocations: 3.938 kB / 1.024 GB, free: 4.512 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.2924, allocations: 4 kB / 1.024 GB, free: 4.508 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002331/0.2927, allocations: 193.6 kB / 1.024 GB, free: 4.27 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2927, allocations: 0 / 1.024 GB, free: 4.27 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001444/0.2928, allocations: 27.95 kB / 1.024 GB, free: 4.242 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.2928, allocations: 0 / 1.024 GB, free: 4.242 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.2928, allocations: 12 kB / 1.024 GB, free: 4.23 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.2929, allocations: 0 / 1.024 GB, free: 4.23 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.2929, allocations: 3.938 kB / 1.024 GB, free: 4.227 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004819/0.2933, allocations: 330.6 kB / 1.024 GB, free: 3.887 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.935e-05/0.2934, allocations: 85.02 kB / 1.024 GB, free: 3.785 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.2934, allocations: 4 kB / 1.024 GB, free: 3.781 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001839/0.2936, allocations: 15.97 kB / 1.024 GB, free: 3.766 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.574e-05/0.2937, allocations: 24.05 kB / 1.024 GB, free: 3.742 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.2937, allocations: 8 kB / 1.024 GB, free: 3.734 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.987e-05/0.2938, allocations: 95.27 kB / 1.024 GB, free: 3.641 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2938, allocations: 0 / 1.024 GB, free: 3.641 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002774/0.2941, allocations: 16 kB / 1.024 GB, free: 3.625 MB / 0.795 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.000107/0.2942, allocations: 103.2 kB / 1.025 GB, free: 3.512 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0004434/0.2946, allocations: 143.8 kB / 1.025 GB, free: 3.371 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2946, allocations: 0 / 1.025 GB, free: 3.371 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002284/0.2949, allocations: 87.89 kB / 1.025 GB, free: 3.285 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000331/0.2952, allocations: 8 kB / 1.025 GB, free: 3.277 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004277/0.2956, allocations: 206.7 kB / 1.025 GB, free: 3.047 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002354/0.2959, allocations: 0.7046 MB / 1.026 GB, free: 2.316 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 5.854e-05/0.296, allocations: 15.98 kB / 1.026 GB, free: 2.301 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.262e-05/0.296, allocations: 15.38 kB / 1.026 GB, free: 2.285 MB / 0.795 GB Notification: Performance of SimCode: time 2.1e-07/0.296, allocations: 0 / 1.026 GB, free: 2.285 MB / 0.795 GB Notification: Performance of Templates: time 0.003541/0.2996, allocations: 1.26 MB / 1.027 GB, free: 1.035 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches