Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.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.IntegerScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.y|reaToInt.y|intRep.y.1.|intRep.y.2.|intRep.y.3.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ram.y|reaToInt.y|intRep.y.1.|intRep.y.2.|intRep.y.3.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 102.2 kB / 16.35 MB, free: 5.887 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.001273/0.001272, allocations: 189.8 kB / 17.29 MB, free: 5.527 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.333/1.333, allocations: 222.9 MB / 241 MB, free: 15.18 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.475/2.475, allocations: 437.1 MB / 0.7112 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 64.53 kB / 0.8707 GB, free: 1.48 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.297/0.2985, allocations: 151.6 MB / 1.019 GB, free: 9.887 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.00203/0.3006, allocations: 0.666 MB / 1.019 GB, free: 9.219 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009258/0.3015, allocations: 0.8273 MB / 1.02 GB, free: 8.379 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.722e-05/0.3016, allocations: 0 / 1.02 GB, free: 8.379 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 9.592e-05/0.3017, allocations: 3.938 kB / 1.02 GB, free: 8.375 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 2.071e-05/0.3017, allocations: 3.938 kB / 1.02 GB, free: 8.371 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000163/0.3019, allocations: 23.97 kB / 1.02 GB, free: 8.348 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.398e-05/0.302, allocations: 39.91 kB / 1.02 GB, free: 8.309 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.3021, allocations: 8 kB / 1.02 GB, free: 8.301 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.968e-05/0.3022, allocations: 15.92 kB / 1.02 GB, free: 8.285 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.142e-05/0.3023, allocations: 19.91 kB / 1.02 GB, free: 8.266 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.3023, allocations: 4 kB / 1.02 GB, free: 8.262 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.177e-05/0.3023, allocations: 4 kB / 1.02 GB, free: 8.258 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 6.252e-05/0.3024, allocations: 11.98 kB / 1.02 GB, free: 8.246 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.863e-05/0.3024, allocations: 15.88 kB / 1.02 GB, free: 8.23 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 9.224e-05/0.3025, allocations: 27.89 kB / 1.02 GB, free: 8.203 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.3025, allocations: 7.984 kB / 1.02 GB, free: 8.195 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.502e-06/0.3025, allocations: 4 kB / 1.02 GB, free: 8.191 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.623e-06/0.3025, allocations: 0 / 1.02 GB, free: 8.191 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004644/0.303, allocations: 357.7 kB / 1.021 GB, free: 7.793 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.3031, allocations: 8.922 kB / 1.021 GB, free: 7.785 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.152e-05/0.3031, allocations: 4.938 kB / 1.021 GB, free: 7.781 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/0.3033, allocations: 172.4 kB / 1.021 GB, free: 7.574 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.3033, allocations: 4.375 kB / 1.021 GB, free: 7.57 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.3033, allocations: 8.375 kB / 1.021 GB, free: 7.562 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/0.3035, allocations: 66.16 kB / 1.021 GB, free: 7.492 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.3035, allocations: 192 / 1.021 GB, free: 7.492 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.3035, allocations: 3.938 kB / 1.021 GB, free: 7.488 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.3035, allocations: 4 kB / 1.021 GB, free: 7.484 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001758/0.3037, allocations: 43.89 kB / 1.021 GB, free: 7.441 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000372/0.3041, allocations: 280.7 kB / 1.021 GB, free: 7.117 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001374/0.3043, allocations: 46.55 kB / 1.021 GB, free: 7.062 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.654e-05/0.3043, allocations: 20.91 kB / 1.021 GB, free: 7.039 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.3044, allocations: 3.938 kB / 1.021 GB, free: 7.035 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.3044, allocations: 42.5 kB / 1.021 GB, free: 6.984 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.3044, allocations: 4 kB / 1.021 GB, free: 6.98 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0003596/0.3048, allocations: 85.62 kB / 1.022 GB, free: 6.891 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/0.3048, allocations: 55.41 kB / 1.022 GB, free: 6.824 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.56e-05/0.3049, allocations: 105.8 kB / 1.022 GB, free: 6.711 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.3049, allocations: 25.7 kB / 1.022 GB, free: 6.68 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.541e-05/0.305, allocations: 84.14 kB / 1.022 GB, free: 6.594 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.594e-05/0.305, allocations: 12.03 kB / 1.022 GB, free: 6.582 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.33e-05/0.305, allocations: 13.72 kB / 1.022 GB, free: 6.562 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.3052, allocations: 322.8 kB / 1.022 GB, free: 6.238 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.349e-05/0.3053, allocations: 15.98 kB / 1.022 GB, free: 6.223 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.444e-05/0.3053, allocations: 23.91 kB / 1.022 GB, free: 6.199 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001456/0.3055, allocations: 44.89 kB / 1.022 GB, free: 6.152 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3055, allocations: 0 / 1.022 GB, free: 6.152 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001873/0.3057, allocations: 69.66 kB / 1.022 GB, free: 6.078 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.3057, allocations: 4 kB / 1.022 GB, free: 6.074 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.3057, allocations: 0 / 1.022 GB, free: 6.074 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.3057, allocations: 3.984 kB / 1.022 GB, free: 6.07 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.3058, allocations: 11.98 kB / 1.022 GB, free: 6.059 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.3059, allocations: 4.031 kB / 1.022 GB, free: 6.055 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.259e-05/0.3059, allocations: 7.984 kB / 1.022 GB, free: 6.047 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.3059, allocations: 0 / 1.022 GB, free: 6.047 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.000111/0.306, allocations: 117.7 kB / 1.022 GB, free: 5.922 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.413e-05/0.3061, allocations: 3.906 kB / 1.022 GB, free: 5.918 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.299e-05/0.3061, allocations: 11.11 kB / 1.022 GB, free: 5.906 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.3061, allocations: 4 kB / 1.022 GB, free: 5.902 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.3061, allocations: 3.938 kB / 1.022 GB, free: 5.898 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.3061, allocations: 0 / 1.022 GB, free: 5.898 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001537/0.3063, allocations: 169.6 kB / 1.023 GB, free: 5.684 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3063, allocations: 0 / 1.023 GB, free: 5.684 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.796e-05/0.3064, allocations: 15.98 kB / 1.023 GB, free: 5.668 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3064, allocations: 0 / 1.023 GB, free: 5.668 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-06/0.3064, allocations: 0 / 1.023 GB, free: 5.668 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3064, allocations: 3.938 kB / 1.023 GB, free: 5.664 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.3064, allocations: 3.984 kB / 1.023 GB, free: 5.66 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002504/0.3067, allocations: 169 kB / 1.023 GB, free: 5.48 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.821e-05/0.3067, allocations: 81.11 kB / 1.023 GB, free: 5.383 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/0.3067, allocations: 0 / 1.023 GB, free: 5.383 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.009e-05/0.3068, allocations: 8.234 kB / 1.023 GB, free: 5.375 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.597e-05/0.3069, allocations: 3.984 kB / 1.023 GB, free: 5.371 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.695e-06/0.3069, allocations: 11.94 kB / 1.023 GB, free: 5.359 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.052e-05/0.3069, allocations: 83.28 kB / 1.023 GB, free: 5.277 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3069, allocations: 0 / 1.023 GB, free: 5.277 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002155/0.3072, allocations: 8.031 kB / 1.023 GB, free: 5.27 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001336/0.3073, allocations: 99.25 kB / 1.023 GB, free: 5.164 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002335/0.3075, allocations: 47.89 kB / 1.023 GB, free: 5.117 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3076, allocations: 0 / 1.023 GB, free: 5.117 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 8.719e-05/0.3076, allocations: 19.97 kB / 1.023 GB, free: 5.098 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002531/0.3079, allocations: 12.12 kB / 1.023 GB, free: 5.086 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003818/0.3083, allocations: 125.5 kB / 1.023 GB, free: 4.938 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002778/0.3086, allocations: 0.6768 MB / 1.024 GB, free: 4.234 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.805e-05/0.3086, allocations: 7.984 kB / 1.024 GB, free: 4.227 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.188e-05/0.3087, allocations: 11.44 kB / 1.024 GB, free: 4.215 MB / 0.795 GB Notification: Performance of SimCode: time 3.31e-07/0.3087, allocations: 4 kB / 1.024 GB, free: 4.211 MB / 0.795 GB Notification: Performance of Templates: time 0.002759/0.3114, allocations: 0.6072 MB / 1.025 GB, free: 3.605 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches