Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002241/0.002241, allocations: 199.5 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.513/1.513, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.847/2.847, allocations: 476.7 MB / 0.7645 GB, free: 10.05 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.RealScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|reaRep.u|reaRep.y.1.|reaRep.y.2.|reaRep.y.3.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|reaRep.u|reaRep.y.1.|reaRep.y.2.|reaRep.y.3.",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002101/0.002101, allocations: 68.03 kB / 1.109 GB, free: 6.477 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8882/0.8903, allocations: 168.7 MB / 1.274 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001924/0.8922, allocations: 0.6516 MB / 1.275 GB, free: 3.875 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009826/0.8932, allocations: 0.8001 MB / 1.275 GB, free: 3.062 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.726e-05/0.8932, allocations: 4 kB / 1.275 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 9.905e-05/0.8933, allocations: 3.938 kB / 1.275 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 2.616e-05/0.8934, allocations: 7.922 kB / 1.275 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001326/0.8935, allocations: 15.98 kB / 1.275 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.702e-05/0.8936, allocations: 19.98 kB / 1.276 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.32e-05/0.8937, allocations: 4 kB / 1.276 GB, free: 3.008 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.143e-05/0.8937, allocations: 15.88 kB / 1.276 GB, free: 2.992 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.606e-05/0.8938, allocations: 3.984 kB / 1.276 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/0.8938, allocations: 4 kB / 1.276 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.156e-05/0.8938, allocations: 4 kB / 1.276 GB, free: 2.98 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.137e-05/0.8938, allocations: 15.92 kB / 1.276 GB, free: 2.965 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.068e-05/0.8939, allocations: 11.94 kB / 1.276 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.314e-05/0.894, allocations: 39.53 kB / 1.276 GB, free: 2.918 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.894, allocations: 0 / 1.276 GB, free: 2.918 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.613e-06/0.894, allocations: 0 / 1.276 GB, free: 2.918 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.894, allocations: 0 / 1.276 GB, free: 2.918 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005145/0.8945, allocations: 346.4 kB / 1.276 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.8945, allocations: 8.031 kB / 1.276 GB, free: 2.523 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.112e-05/0.8945, allocations: 0.9375 kB / 1.276 GB, free: 2.523 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001757/0.8947, allocations: 172.4 kB / 1.276 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.8947, allocations: 4.375 kB / 1.276 GB, free: 2.312 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.107e-06/0.8947, allocations: 4.375 kB / 1.276 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.8949, allocations: 54.23 kB / 1.276 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.8949, allocations: 4.125 kB / 1.276 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.8949, allocations: 3.938 kB / 1.276 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.8949, allocations: 0 / 1.276 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001701/0.8951, allocations: 47.94 kB / 1.276 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004376/0.8956, allocations: 272.8 kB / 1.276 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001177/0.8957, allocations: 38.5 kB / 1.277 GB, free: 1.832 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.579e-05/0.8958, allocations: 20.89 kB / 1.277 GB, free: 1.809 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.8958, allocations: 0 / 1.277 GB, free: 1.809 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.8958, allocations: 38.56 kB / 1.277 GB, free: 1.762 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.8958, allocations: 0 / 1.277 GB, free: 1.762 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0003436/0.8961, allocations: 73.64 kB / 1.277 GB, free: 1.684 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/0.8962, allocations: 51.41 kB / 1.277 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.605e-05/0.8963, allocations: 105.9 kB / 1.277 GB, free: 1.508 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.8963, allocations: 29.83 kB / 1.277 GB, free: 1.473 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.509e-05/0.8964, allocations: 95.95 kB / 1.277 GB, free: 1.375 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.565e-05/0.8964, allocations: 4 kB / 1.277 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.028e-05/0.8964, allocations: 13.72 kB / 1.277 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.8965, allocations: 318.7 kB / 1.277 GB, free: 1.031 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.278e-05/0.8966, allocations: 15.98 kB / 1.277 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.299e-05/0.8967, allocations: 15.98 kB / 1.277 GB, free: 1 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001564/0.8969, allocations: 40.88 kB / 1.277 GB, free: 0.957 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.8969, allocations: 0 / 1.277 GB, free: 0.957 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001899/0.897, allocations: 65.61 kB / 1.277 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.8971, allocations: 4 kB / 1.277 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.8971, allocations: 0 / 1.277 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.8971, allocations: 8.031 kB / 1.277 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.169e-05/0.8972, allocations: 7.938 kB / 1.277 GB, free: 0.8672 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.339e-06/0.8972, allocations: 0 / 1.277 GB, free: 0.8672 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.655e-05/0.8972, allocations: 7.984 kB / 1.277 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-06/0.8972, allocations: 0 / 1.277 GB, free: 0.8594 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 9.129e-05/0.8973, allocations: 113.8 kB / 1.277 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.362e-05/0.8973, allocations: 0 / 1.277 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.321e-05/0.8974, allocations: 11.11 kB / 1.278 GB, free: 0.7305 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.8974, allocations: 0 / 1.278 GB, free: 0.7305 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.8974, allocations: 4 kB / 1.278 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.794e-06/0.8974, allocations: 0 / 1.278 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001777/0.8975, allocations: 161.6 kB / 1.278 GB, free: 0.5195 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.8975, allocations: 0 / 1.278 GB, free: 0.5195 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.1e-05/0.8976, allocations: 7.984 kB / 1.278 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.8976, allocations: 3.938 kB / 1.278 GB, free: 0.5078 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.57e-06/0.8976, allocations: 0 / 1.278 GB, free: 0.5078 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.8976, allocations: 4 kB / 1.278 GB, free: 0.5039 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.8976, allocations: 0 / 1.278 GB, free: 0.5039 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002425/0.8979, allocations: 159.5 kB / 1.278 GB, free: 340 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.243e-05/0.8979, allocations: 81.05 kB / 1.278 GB, free: 240 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.107e-05/0.8979, allocations: 0 / 1.278 GB, free: 240 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.514e-05/0.898, allocations: 8.234 kB / 1.278 GB, free: 232 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.636e-05/0.898, allocations: 8 kB / 1.278 GB, free: 224 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.838e-06/0.898, allocations: 4 kB / 1.278 GB, free: 220 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.515e-05/0.8981, allocations: 87.3 kB / 1.278 GB, free: 132 kB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.8981, allocations: 0 / 1.278 GB, free: 132 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002134/0.8983, allocations: 7.953 kB / 1.278 GB, free: 124 kB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.00013/0.8984, allocations: 95.78 kB / 1.278 GB, free: 20 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002275/0.8986, allocations: 32.03 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.8986, allocations: 0 / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.308e-05/0.8987, allocations: 23.97 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000279/0.899, allocations: 9.969 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003112/0.8993, allocations: 129.3 kB / 1.278 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/0.8997, allocations: 0.6768 MB / 1.279 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.708e-05/0.8997, allocations: 4 kB / 1.279 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.134e-05/0.8997, allocations: 7.438 kB / 1.279 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of SimCode: time 2.9e-07/0.8997, allocations: 4.062 kB / 1.279 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of Templates: time 0.002694/0.9024, allocations: 421.9 kB / 1.279 GB, free: 14.68 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.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.103618434164673]