Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001835/0.001835, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.002416/0.002416, allocations: 157.7 kB / 23.01 MB, free: 4.602 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.508/1.508, allocations: 177.2 MB / 203.4 MB, free: 8.898 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.899/2.899, allocations: 394.2 MB / 0.6387 GB, free: 11.92 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002069/0.002069, allocations: 69.91 kB / 1.009 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9885/0.9906, allocations: 181.8 MB / 1.187 GB, free: 16.25 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001771/0.9923, allocations: 0.6685 MB / 1.187 GB, free: 15.84 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0008506/0.9932, allocations: 0.8548 MB / 1.188 GB, free: 15.2 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.984e-05/0.9932, allocations: 0 / 1.188 GB, free: 15.2 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 8.65e-05/0.9933, allocations: 4.453 kB / 1.188 GB, free: 15.2 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 2.517e-05/0.9934, allocations: 6.016 kB / 1.188 GB, free: 15.19 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001539/0.9935, allocations: 21.11 kB / 1.188 GB, free: 15.18 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 7.094e-05/0.9936, allocations: 28.86 kB / 1.188 GB, free: 15.17 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 9.506e-05/0.9937, allocations: 8.578 kB / 1.188 GB, free: 15.16 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 4.802e-05/0.9937, allocations: 20.05 kB / 1.188 GB, free: 15.15 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 5.99e-05/0.9938, allocations: 13.38 kB / 1.188 GB, free: 15.15 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.9938, allocations: 2.75 kB / 1.188 GB, free: 15.15 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 1.043e-05/0.9938, allocations: 10.62 kB / 1.188 GB, free: 15.14 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 5.136e-05/0.9939, allocations: 10.84 kB / 1.188 GB, free: 15.14 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.272e-05/0.9939, allocations: 12.09 kB / 1.188 GB, free: 15.13 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 9.272e-05/0.994, allocations: 42.36 kB / 1.188 GB, free: 15.11 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.994, allocations: 1.375 kB / 1.188 GB, free: 15.11 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.232e-06/0.994, allocations: 4 kB / 1.188 GB, free: 15.11 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.994, allocations: 0 / 1.188 GB, free: 15.11 MB / 1.076 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.0003937/0.9944, allocations: 273.6 kB / 1.189 GB, free: 14.84 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.9944, allocations: 10.19 kB / 1.189 GB, free: 14.84 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.233e-05/0.9945, allocations: 2.312 kB / 1.189 GB, free: 14.84 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.9946, allocations: 117.7 kB / 1.189 GB, free: 14.7 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.9946, allocations: 7.125 kB / 1.189 GB, free: 14.7 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.898e-06/0.9946, allocations: 1.75 kB / 1.189 GB, free: 14.7 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001896/0.9948, allocations: 67.44 kB / 1.189 GB, free: 14.66 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.9948, allocations: 5.25 kB / 1.189 GB, free: 14.65 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.9948, allocations: 3.938 kB / 1.189 GB, free: 14.65 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.9948, allocations: 1.094 kB / 1.189 GB, free: 14.65 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001949/0.995, allocations: 43.66 kB / 1.189 GB, free: 14.64 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002869/0.9953, allocations: 221.5 kB / 1.189 GB, free: 14.42 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001412/0.9954, allocations: 43.75 kB / 1.189 GB, free: 14.39 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.41e-05/0.9955, allocations: 28.7 kB / 1.189 GB, free: 14.38 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.9956, allocations: 0 / 1.189 GB, free: 14.38 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.736e-05/0.9956, allocations: 33.58 kB / 1.189 GB, free: 14.34 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.9956, allocations: 0 / 1.189 GB, free: 14.34 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0003733/0.9959, allocations: 88.75 kB / 1.189 GB, free: 14.29 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.567e-05/0.996, allocations: 56.44 kB / 1.189 GB, free: 14.23 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.342e-05/0.996, allocations: 103.1 kB / 1.189 GB, free: 14.12 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.666e-06/0.996, allocations: 26.8 kB / 1.189 GB, free: 14.09 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.331e-05/0.9961, allocations: 99.36 kB / 1.189 GB, free: 14 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.43e-05/0.9961, allocations: 1.719 kB / 1.189 GB, free: 14 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.305e-05/0.9961, allocations: 18.33 kB / 1.189 GB, free: 13.98 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.499e-05/0.9962, allocations: 314.2 kB / 1.19 GB, free: 13.66 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.844e-05/0.9963, allocations: 18.81 kB / 1.19 GB, free: 13.66 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.892e-05/0.9964, allocations: 16.28 kB / 1.19 GB, free: 13.66 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001794/0.9965, allocations: 51.58 kB / 1.19 GB, free: 13.64 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.9965, allocations: 1.5 kB / 1.19 GB, free: 13.64 MB / 1.076 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002088/0.9968, allocations: 73.97 kB / 1.19 GB, free: 13.59 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.051e-05/0.9968, allocations: 9.812 kB / 1.19 GB, free: 13.59 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.9968, allocations: 0.75 kB / 1.19 GB, free: 13.59 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.9968, allocations: 0 / 1.19 GB, free: 13.59 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.9969, allocations: 9.594 kB / 1.19 GB, free: 13.59 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.9969, allocations: 4.969 kB / 1.19 GB, free: 13.59 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.83e-05/0.997, allocations: 10.09 kB / 1.19 GB, free: 13.58 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.531e-06/0.997, allocations: 1.062 kB / 1.19 GB, free: 13.58 MB / 1.076 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 8.404e-05/0.9971, allocations: 118.6 kB / 1.19 GB, free: 13.46 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.492e-05/0.9971, allocations: 2.328 kB / 1.19 GB, free: 13.46 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.925e-05/0.9971, allocations: 5.891 kB / 1.19 GB, free: 13.45 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.9971, allocations: 0 / 1.19 GB, free: 13.45 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.9971, allocations: 0 / 1.19 GB, free: 13.45 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.9971, allocations: 0 / 1.19 GB, free: 13.45 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001044/0.9972, allocations: 112.3 kB / 1.19 GB, free: 13.32 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.9972, allocations: 1.438 kB / 1.19 GB, free: 13.32 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.284e-05/0.9973, allocations: 13.38 kB / 1.19 GB, free: 13.32 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.9973, allocations: 0 / 1.19 GB, free: 13.32 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-06/0.9973, allocations: 6.375 kB / 1.19 GB, free: 13.32 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.9973, allocations: 0 / 1.19 GB, free: 13.32 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.9973, allocations: 0 / 1.19 GB, free: 13.32 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002473/0.9976, allocations: 172 kB / 1.19 GB, free: 13.17 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 8.987e-06/0.9976, allocations: 5.734 kB / 1.19 GB, free: 13.17 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.9976, allocations: 1.031 kB / 1.19 GB, free: 13.17 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.965e-05/0.9977, allocations: 14.2 kB / 1.19 GB, free: 13.16 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.252e-05/0.9977, allocations: 5.516 kB / 1.19 GB, free: 13.16 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.147e-06/0.9977, allocations: 0.75 kB / 1.19 GB, free: 13.16 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.715e-05/0.9978, allocations: 85.14 kB / 1.19 GB, free: 13.08 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.9978, allocations: 0 / 1.19 GB, free: 13.08 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002295/0.998, allocations: 9.656 kB / 1.19 GB, free: 13.08 MB / 1.076 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 9.507e-05/0.9981, allocations: 94.94 kB / 1.191 GB, free: 12.99 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002492/0.9983, allocations: 47.34 kB / 1.191 GB, free: 12.98 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.9983, allocations: 0 / 1.191 GB, free: 12.98 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001019/0.9984, allocations: 22.98 kB / 1.191 GB, free: 12.97 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002506/0.9987, allocations: 10.69 kB / 1.191 GB, free: 12.96 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002831/0.999, allocations: 113.8 kB / 1.191 GB, free: 12.86 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.864e-05/0.999, allocations: 69.14 kB / 1.191 GB, free: 12.78 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.581e-05/0.999, allocations: 7.375 kB / 1.191 GB, free: 12.78 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.928e-05/0.9991, allocations: 11.8 kB / 1.191 GB, free: 12.77 MB / 1.076 GB Notification: Performance of SimCode: time 3e-07/0.9991, allocations: 0 / 1.191 GB, free: 12.77 MB / 1.076 GB Notification: Performance of Templates: time 0.003218/1.002, allocations: 0.6535 MB / 1.191 GB, free: 12.67 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.232965225004591]