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.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.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.001636/0.001636, allocations: 108.6 kB / 15.73 MB, free: 72 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.001993/0.001993, allocations: 183.3 kB / 16.66 MB, free: 6.602 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.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 4.367 MB / 190.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.797/2.797, allocations: 437 MB / 0.7105 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 59.91 kB / 1.019 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3912/0.3925, allocations: 151.6 MB / 1.167 GB, free: 6.812 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.002184/0.3948, allocations: 0.6599 MB / 1.167 GB, free: 6.148 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001071/0.3959, allocations: 0.8316 MB / 1.168 GB, free: 5.305 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.229e-05/0.3959, allocations: 7.938 kB / 1.168 GB, free: 5.297 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001017/0.3961, allocations: 0 / 1.168 GB, free: 5.297 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.05e-05/0.3961, allocations: 7.922 kB / 1.168 GB, free: 5.289 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001743/0.3963, allocations: 19.92 kB / 1.168 GB, free: 5.27 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.031e-05/0.3964, allocations: 35.92 kB / 1.168 GB, free: 5.234 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.3965, allocations: 11.98 kB / 1.168 GB, free: 5.223 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.495e-05/0.3966, allocations: 12 kB / 1.168 GB, free: 5.211 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.623e-05/0.3967, allocations: 19.91 kB / 1.168 GB, free: 5.191 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.696e-05/0.3967, allocations: 4 kB / 1.168 GB, free: 5.188 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.048e-05/0.3967, allocations: 3.938 kB / 1.168 GB, free: 5.184 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 6.777e-05/0.3968, allocations: 19.86 kB / 1.168 GB, free: 5.164 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.242e-05/0.3968, allocations: 15.92 kB / 1.168 GB, free: 5.148 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001198/0.397, allocations: 43.81 kB / 1.168 GB, free: 5.105 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.397, allocations: 0 / 1.168 GB, free: 5.105 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.166e-06/0.397, allocations: 0 / 1.168 GB, free: 5.105 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.724e-06/0.397, allocations: 0 / 1.168 GB, free: 5.105 MB / 0.92 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.0006941/0.3977, allocations: 363.3 kB / 1.169 GB, free: 4.699 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.517e-05/0.3978, allocations: 8.031 kB / 1.169 GB, free: 4.691 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.637e-05/0.3978, allocations: 4.938 kB / 1.169 GB, free: 4.688 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002478/0.3981, allocations: 168.4 kB / 1.169 GB, free: 4.484 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.686e-05/0.3981, allocations: 8.375 kB / 1.169 GB, free: 4.477 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.065e-05/0.3981, allocations: 4.375 kB / 1.169 GB, free: 4.473 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002495/0.3984, allocations: 66.17 kB / 1.169 GB, free: 4.402 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.3984, allocations: 192 / 1.169 GB, free: 4.402 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.3984, allocations: 7.922 kB / 1.169 GB, free: 4.395 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.3984, allocations: 0 / 1.169 GB, free: 4.395 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002019/0.3986, allocations: 43.95 kB / 1.169 GB, free: 4.352 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004896/0.3991, allocations: 276.8 kB / 1.169 GB, free: 4.031 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001538/0.3993, allocations: 46.48 kB / 1.169 GB, free: 3.977 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.273e-05/0.3994, allocations: 20.91 kB / 1.169 GB, free: 3.953 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.313e-05/0.3994, allocations: 0 / 1.169 GB, free: 3.953 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/0.3994, allocations: 34.56 kB / 1.169 GB, free: 3.91 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.3995, allocations: 4 kB / 1.169 GB, free: 3.906 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003829/0.3998, allocations: 89.59 kB / 1.169 GB, free: 3.812 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.163e-05/0.3999, allocations: 59.33 kB / 1.169 GB, free: 3.742 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.9e-05/0.4, allocations: 101.9 kB / 1.17 GB, free: 3.633 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.4, allocations: 25.7 kB / 1.17 GB, free: 3.602 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.42e-05/0.4001, allocations: 92.06 kB / 1.17 GB, free: 3.508 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.139e-05/0.4001, allocations: 16.14 kB / 1.17 GB, free: 3.492 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.351e-05/0.4001, allocations: 13.72 kB / 1.17 GB, free: 3.473 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.4003, allocations: 314.8 kB / 1.17 GB, free: 3.156 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.537e-05/0.4004, allocations: 19.97 kB / 1.17 GB, free: 3.137 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.745e-05/0.4005, allocations: 23.92 kB / 1.17 GB, free: 3.113 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001656/0.4006, allocations: 44.88 kB / 1.17 GB, free: 3.066 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.4006, allocations: 0 / 1.17 GB, free: 3.066 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002132/0.4009, allocations: 69.66 kB / 1.17 GB, free: 2.992 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.4009, allocations: 13.97 kB / 1.17 GB, free: 2.98 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.4009, allocations: 0 / 1.17 GB, free: 2.98 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.4009, allocations: 0 / 1.17 GB, free: 2.98 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.401, allocations: 11.98 kB / 1.17 GB, free: 2.969 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.401, allocations: 0 / 1.17 GB, free: 2.969 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.671e-05/0.4011, allocations: 19.91 kB / 1.17 GB, free: 2.949 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.4011, allocations: 0 / 1.17 GB, free: 2.949 MB / 0.92 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.0001139/0.4012, allocations: 113.8 kB / 1.17 GB, free: 2.828 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.326e-05/0.4013, allocations: 3.984 kB / 1.17 GB, free: 2.824 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.204e-05/0.4013, allocations: 7.125 kB / 1.17 GB, free: 2.816 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.4013, allocations: 0 / 1.17 GB, free: 2.816 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.4013, allocations: 0 / 1.17 GB, free: 2.816 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.487e-05/0.4013, allocations: 4 kB / 1.17 GB, free: 2.812 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001691/0.4015, allocations: 169.8 kB / 1.17 GB, free: 2.598 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.4015, allocations: 0 / 1.17 GB, free: 2.598 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.007e-05/0.4016, allocations: 11.98 kB / 1.17 GB, free: 2.586 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.4016, allocations: 0 / 1.17 GB, free: 2.586 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.4016, allocations: 4 kB / 1.17 GB, free: 2.582 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.4016, allocations: 0 / 1.17 GB, free: 2.582 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.201e-05/0.4016, allocations: 3.984 kB / 1.17 GB, free: 2.578 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002627/0.4019, allocations: 175.4 kB / 1.171 GB, free: 2.391 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.948e-05/0.402, allocations: 85.06 kB / 1.171 GB, free: 2.289 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.053e-05/0.402, allocations: 4 kB / 1.171 GB, free: 2.285 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.374e-05/0.4021, allocations: 3.984 kB / 1.171 GB, free: 2.281 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.353e-05/0.4022, allocations: 4 kB / 1.171 GB, free: 2.277 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.4022, allocations: 0 / 1.171 GB, free: 2.277 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.433e-05/0.4022, allocations: 87.27 kB / 1.171 GB, free: 2.191 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4022, allocations: 0 / 1.171 GB, free: 2.191 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002126/0.4024, allocations: 12.03 kB / 1.171 GB, free: 2.18 MB / 0.92 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.0001456/0.4026, allocations: 95.25 kB / 1.171 GB, free: 2.074 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002391/0.4028, allocations: 47.89 kB / 1.171 GB, free: 2.027 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.4028, allocations: 0 / 1.171 GB, free: 2.027 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 9.605e-05/0.403, allocations: 27.86 kB / 1.171 GB, free: 2 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002496/0.4032, allocations: 12.11 kB / 1.171 GB, free: 1.988 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003353/0.4036, allocations: 113.4 kB / 1.171 GB, free: 1.852 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003355/0.4039, allocations: 0.6768 MB / 1.172 GB, free: 1.148 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 4.16e-05/0.4039, allocations: 4 kB / 1.172 GB, free: 1.145 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.781e-05/0.404, allocations: 11.44 kB / 1.172 GB, free: 1.133 MB / 0.92 GB Notification: Performance of SimCode: time 2.2e-07/0.404, allocations: 0 / 1.172 GB, free: 1.133 MB / 0.92 GB Notification: Performance of Templates: time 0.003317/0.4073, allocations: 0.6183 MB / 1.172 GB, free: 0.5195 MB / 0.92 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 -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/jenkins/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