Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00239/0.00239, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003302/0.003302, allocations: 208.1 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.655/1.655, allocations: 230.6 MB / 256 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.941/2.941, allocations: 476 MB / 0.7699 GB, free: 4.801 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ram.y|reaToInt.y|intRep.y.1.|intRep.y.2.|intRep.y.3.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ram.y|reaToInt.y|intRep.y.1.|intRep.y.2.|intRep.y.3.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002109/0.002109, allocations: 71.41 kB / 1.117 GB, free: 41.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4321/0.4342, allocations: 169.9 MB / 1.283 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001978/0.4362, allocations: 0.6765 MB / 1.284 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001086/0.4372, allocations: 0.8511 MB / 1.285 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.541e-05/0.4373, allocations: 0 / 1.285 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 9.197e-05/0.4374, allocations: 3.938 kB / 1.285 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.838e-05/0.4374, allocations: 7.922 kB / 1.285 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001717/0.4376, allocations: 19.98 kB / 1.285 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.121e-05/0.4377, allocations: 31.92 kB / 1.285 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.4378, allocations: 8 kB / 1.285 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.485e-05/0.4378, allocations: 19.91 kB / 1.285 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.517e-05/0.4379, allocations: 15.92 kB / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.4379, allocations: 8 kB / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.273e-05/0.4379, allocations: 4 kB / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.466e-05/0.438, allocations: 7.938 kB / 1.285 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.208e-05/0.438, allocations: 15.92 kB / 1.285 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001021/0.4381, allocations: 39.81 kB / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.4381, allocations: 0 / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.373e-06/0.4381, allocations: 4 kB / 1.285 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.93e-06/0.4381, allocations: 0 / 1.285 GB, free: 10.31 MB / 0.9825 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.0005021/0.4386, allocations: 270.3 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.4387, allocations: 8.031 kB / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.714e-05/0.4387, allocations: 12.89 kB / 1.285 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001601/0.4389, allocations: 114.5 kB / 1.285 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.4389, allocations: 384 / 1.285 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.113e-05/0.4389, allocations: 4.375 kB / 1.285 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002004/0.4391, allocations: 62.23 kB / 1.285 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.4391, allocations: 8.062 kB / 1.285 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.4391, allocations: 7.922 kB / 1.285 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.4391, allocations: 0 / 1.285 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001909/0.4393, allocations: 47.95 kB / 1.285 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003651/0.4397, allocations: 220.4 kB / 1.285 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001474/0.4398, allocations: 46.48 kB / 1.285 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.933e-05/0.4399, allocations: 24.91 kB / 1.285 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.285e-05/0.44, allocations: 0 / 1.285 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.44, allocations: 34.55 kB / 1.286 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.44, allocations: 0 / 1.286 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.000376/0.4404, allocations: 93.62 kB / 1.286 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.217e-05/0.4404, allocations: 51.41 kB / 1.286 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.4405, allocations: 113.8 kB / 1.286 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.4405, allocations: 25.7 kB / 1.286 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.86e-05/0.4406, allocations: 88.03 kB / 1.286 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.615e-05/0.4406, allocations: 3.953 kB / 1.286 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.219e-05/0.4406, allocations: 17.72 kB / 1.286 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.4408, allocations: 318.8 kB / 1.286 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.899e-05/0.4409, allocations: 20.11 kB / 1.286 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.1e-05/0.441, allocations: 19.98 kB / 1.286 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001795/0.4411, allocations: 45 kB / 1.286 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.4411, allocations: 0 / 1.286 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002181/0.4414, allocations: 69.75 kB / 1.286 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.4414, allocations: 12 kB / 1.286 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.4414, allocations: 3.938 kB / 1.286 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.4414, allocations: 0 / 1.286 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.4415, allocations: 7.984 kB / 1.286 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.4415, allocations: 4 kB / 1.286 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.538e-05/0.4416, allocations: 7.984 kB / 1.286 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.4416, allocations: 4 kB / 1.286 GB, free: 8.406 MB / 0.9825 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.0001332/0.4417, allocations: 113.8 kB / 1.286 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.28e-05/0.4417, allocations: 4 kB / 1.286 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.343e-05/0.4417, allocations: 11.3 kB / 1.286 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.4417, allocations: 0 / 1.286 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.4417, allocations: 0 / 1.286 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.4418, allocations: 0 / 1.286 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001586/0.4419, allocations: 113.2 kB / 1.287 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4419, allocations: 0 / 1.287 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.17e-05/0.442, allocations: 11.98 kB / 1.287 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.442, allocations: 0 / 1.287 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.442, allocations: 0 / 1.287 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.442, allocations: 0 / 1.287 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.442, allocations: 7.938 kB / 1.287 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002745/0.4423, allocations: 175.3 kB / 1.287 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.244e-06/0.4423, allocations: 3.938 kB / 1.287 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.4423, allocations: 4 kB / 1.287 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.479e-05/0.4424, allocations: 7.984 kB / 1.287 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.552e-05/0.4424, allocations: 7.984 kB / 1.287 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.4424, allocations: 0 / 1.287 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.508e-05/0.4425, allocations: 79.28 kB / 1.287 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.4425, allocations: 4.031 kB / 1.287 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002187/0.4427, allocations: 8 kB / 1.287 GB, free: 7.812 MB / 0.9825 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.0001261/0.4428, allocations: 99.25 kB / 1.287 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002319/0.443, allocations: 39.95 kB / 1.287 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4431, allocations: 0 / 1.287 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.953e-05/0.4432, allocations: 27.91 kB / 1.287 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002575/0.4434, allocations: 14.25 kB / 1.287 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003435/0.4438, allocations: 119.4 kB / 1.287 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.921e-05/0.4438, allocations: 67.33 kB / 1.287 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.746e-05/0.4439, allocations: 4 kB / 1.287 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.607e-05/0.4439, allocations: 11.44 kB / 1.287 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of SimCode: time 3.5e-07/0.4439, allocations: 0 / 1.287 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of Templates: time 0.003285/0.4472, allocations: 0.6562 MB / 1.288 GB, free: 6.734 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.824011098593473]