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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001628/0.001628, allocations: 101.7 kB / 15.98 MB, free: 6.355 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.001863/0.001863, allocations: 197 kB / 16.91 MB, free: 6.188 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.415/1.415, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.624/2.624, allocations: 437 MB / 0.7107 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 60.81 kB / 0.8694 GB, free: 2.551 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2887/0.29, allocations: 151.6 MB / 1.017 GB, free: 11 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.001994/0.2921, allocations: 0.735 MB / 1.018 GB, free: 10.26 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009724/0.2931, allocations: 0.8327 MB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.964e-05/0.2931, allocations: 0 / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001069/0.2933, allocations: 11.92 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 9.218e-05/0.2934, allocations: 7.984 kB / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001372/0.2935, allocations: 23.92 kB / 1.019 GB, free: 9.375 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001178/0.2937, allocations: 71.83 kB / 1.019 GB, free: 9.305 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001456/0.2938, allocations: 39.86 kB / 1.019 GB, free: 9.266 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.288e-05/0.2939, allocations: 31.92 kB / 1.019 GB, free: 9.234 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 9.925e-05/0.294, allocations: 47.81 kB / 1.019 GB, free: 9.188 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.309e-05/0.294, allocations: 4 kB / 1.019 GB, free: 9.184 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.707e-05/0.294, allocations: 4 kB / 1.019 GB, free: 9.18 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 5.511e-05/0.2941, allocations: 31.91 kB / 1.019 GB, free: 9.148 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.329e-05/0.2942, allocations: 35.8 kB / 1.019 GB, free: 9.113 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001048/0.2943, allocations: 63.89 kB / 1.019 GB, free: 9.051 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2943, allocations: 0 / 1.019 GB, free: 9.051 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2943, allocations: 0 / 1.019 GB, free: 9.051 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.2943, allocations: 4 kB / 1.019 GB, free: 9.047 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.0006624/0.295, allocations: 403.5 kB / 1.02 GB, free: 8.602 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.295, allocations: 8.625 kB / 1.02 GB, free: 8.594 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.559e-05/0.2951, allocations: 8.844 kB / 1.02 GB, free: 8.586 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001727/0.2953, allocations: 184.4 kB / 1.02 GB, free: 8.367 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.828e-05/0.2953, allocations: 8.359 kB / 1.02 GB, free: 8.359 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.159e-05/0.2953, allocations: 8.375 kB / 1.02 GB, free: 8.352 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003741/0.2957, allocations: 159.8 kB / 1.02 GB, free: 8.184 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.2957, allocations: 192 / 1.02 GB, free: 8.184 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.2957, allocations: 11.88 kB / 1.02 GB, free: 8.172 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.2957, allocations: 0 / 1.02 GB, free: 8.172 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000456/0.2962, allocations: 155.8 kB / 1.02 GB, free: 8.02 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006092/0.2968, allocations: 452.6 kB / 1.021 GB, free: 7.523 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002857/0.2971, allocations: 117.1 kB / 1.021 GB, free: 7.391 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002067/0.2973, allocations: 73.7 kB / 1.021 GB, free: 7.312 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.2974, allocations: 0 / 1.021 GB, free: 7.312 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.573e-05/0.2974, allocations: 46.55 kB / 1.021 GB, free: 7.258 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.2974, allocations: 0 / 1.021 GB, free: 7.258 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0007423/0.2982, allocations: 217.4 kB / 1.021 GB, free: 7.039 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.415e-05/0.2982, allocations: 85.34 kB / 1.021 GB, free: 6.938 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.885e-05/0.2984, allocations: 137.6 kB / 1.021 GB, free: 6.793 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.2984, allocations: 25.7 kB / 1.021 GB, free: 6.762 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.768e-05/0.2984, allocations: 96.03 kB / 1.021 GB, free: 6.664 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.015e-05/0.2985, allocations: 7.906 kB / 1.021 GB, free: 6.656 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.03e-05/0.2985, allocations: 25.7 kB / 1.021 GB, free: 6.625 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.529e-05/0.2986, allocations: 310.8 kB / 1.022 GB, free: 6.312 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002122/0.2988, allocations: 71.91 kB / 1.022 GB, free: 6.242 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002012/0.299, allocations: 77.64 kB / 1.022 GB, free: 6.16 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003791/0.2994, allocations: 133.5 kB / 1.022 GB, free: 6.023 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2994, allocations: 0 / 1.022 GB, free: 6.023 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004473/0.2999, allocations: 161.4 kB / 1.022 GB, free: 5.859 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.2999, allocations: 4 kB / 1.022 GB, free: 5.855 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.2999, allocations: 0 / 1.022 GB, free: 5.855 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.3, allocations: 0 / 1.022 GB, free: 5.855 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001806/0.3001, allocations: 32.03 kB / 1.022 GB, free: 5.824 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.3002, allocations: 3.938 kB / 1.022 GB, free: 5.82 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.3003, allocations: 23.91 kB / 1.022 GB, free: 5.797 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.3003, allocations: 0 / 1.022 GB, free: 5.797 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 0.0001047/0.3004, allocations: 129.8 kB / 1.022 GB, free: 5.66 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.812e-05/0.3005, allocations: 11.89 kB / 1.022 GB, free: 5.648 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.112e-05/0.3005, allocations: 11.53 kB / 1.022 GB, free: 5.637 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.3005, allocations: 4 kB / 1.022 GB, free: 5.633 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.3005, allocations: 3.938 kB / 1.022 GB, free: 5.629 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.758e-06/0.3005, allocations: 4 kB / 1.022 GB, free: 5.625 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002464/0.3008, allocations: 189.6 kB / 1.023 GB, free: 5.391 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3008, allocations: 0 / 1.023 GB, free: 5.391 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001475/0.3009, allocations: 27.97 kB / 1.023 GB, free: 5.363 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.301, allocations: 0 / 1.023 GB, free: 5.363 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.301, allocations: 0 / 1.023 GB, free: 5.363 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.133e-06/0.301, allocations: 7.984 kB / 1.023 GB, free: 5.355 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.301, allocations: 3.938 kB / 1.023 GB, free: 5.352 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005157/0.3015, allocations: 330.7 kB / 1.023 GB, free: 5.012 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.688e-05/0.3016, allocations: 89.05 kB / 1.023 GB, free: 4.906 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.17e-05/0.3016, allocations: 4.375 kB / 1.023 GB, free: 4.902 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001753/0.3018, allocations: 19.97 kB / 1.023 GB, free: 4.883 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.074e-05/0.3018, allocations: 23.91 kB / 1.023 GB, free: 4.859 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.3019, allocations: 4 kB / 1.023 GB, free: 4.855 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.519e-05/0.3019, allocations: 95.2 kB / 1.023 GB, free: 4.762 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3019, allocations: 0 / 1.023 GB, free: 4.762 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002784/0.3022, allocations: 16 kB / 1.023 GB, free: 4.746 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.0001246/0.3023, allocations: 99.25 kB / 1.023 GB, free: 4.637 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0004698/0.3028, allocations: 143.8 kB / 1.023 GB, free: 4.496 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3028, allocations: 0 / 1.023 GB, free: 4.496 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002284/0.3031, allocations: 83.89 kB / 1.024 GB, free: 4.414 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.3034, allocations: 12.19 kB / 1.024 GB, free: 4.402 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004741/0.3039, allocations: 243.9 kB / 1.024 GB, free: 4.129 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002576/0.3042, allocations: 0.7041 MB / 1.024 GB, free: 3.398 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.331e-05/0.3042, allocations: 15.44 kB / 1.024 GB, free: 3.383 MB / 0.795 GB Notification: Performance of SimCode: time 3.21e-07/0.3043, allocations: 0 / 1.024 GB, free: 3.383 MB / 0.795 GB Notification: Performance of Templates: time 0.002719/0.307, allocations: 1.213 MB / 1.026 GB, free: 2.18 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 -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