Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.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.001254/0.001254, allocations: 77.86 kB / 19.76 MB, free: 2.035 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.001385/0.001385, allocations: 156.6 kB / 23.01 MB, free: 4.945 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.4/1.4, allocations: 177.2 MB / 203.4 MB, free: 8.938 MB / 190.1 MB " [Timeout remaining time 179] 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 3.003/3.003, allocations: 394.2 MB / 0.6386 GB, free: 11.95 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.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intRep.u|intRep.y.2.|intRep.y.1.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator") translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intRep.u|intRep.y.2.|intRep.y.1.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator") [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.003057/0.003057, allocations: 63.89 kB / 1.009 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7989/0.8019, allocations: 181.8 MB / 1.187 GB, free: 16.19 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.002776/0.8047, allocations: 1.795 MB / 1.188 GB, free: 14.96 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001905/0.8066, allocations: 1.181 MB / 1.19 GB, free: 14.21 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.921e-05/0.8067, allocations: 9.312 kB / 1.19 GB, free: 14.2 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0003005/0.807, allocations: 58.22 kB / 1.19 GB, free: 14.18 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0003124/0.8073, allocations: 120 kB / 1.19 GB, free: 14.12 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004923/0.8078, allocations: 198.2 kB / 1.19 GB, free: 14.02 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002047/0.808, allocations: 161.8 kB / 1.19 GB, free: 13.94 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 9.949e-05/0.8081, allocations: 18.48 kB / 1.19 GB, free: 13.93 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 9.748e-05/0.8082, allocations: 63.53 kB / 1.19 GB, free: 13.9 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001211/0.8083, allocations: 73.89 kB / 1.19 GB, free: 13.87 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.284e-05/0.8084, allocations: 6.75 kB / 1.19 GB, free: 13.87 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001832/0.8085, allocations: 86.42 kB / 1.19 GB, free: 13.84 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 9.28e-05/0.8086, allocations: 34.64 kB / 1.19 GB, free: 13.83 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 6.591e-05/0.8087, allocations: 45.88 kB / 1.19 GB, free: 13.8 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.000303/0.809, allocations: 211.7 kB / 1.191 GB, free: 13.72 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.809, allocations: 0 / 1.191 GB, free: 13.72 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.453e-06/0.809, allocations: 1.125 kB / 1.191 GB, free: 13.72 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.809, allocations: 4 kB / 1.191 GB, free: 13.71 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005659/0.8096, allocations: 432.2 kB / 1.191 GB, free: 13.32 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.8096, allocations: 8.969 kB / 1.191 GB, free: 13.32 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.657e-05/0.8097, allocations: 17.67 kB / 1.191 GB, free: 13.32 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002965/0.81, allocations: 192.7 kB / 1.191 GB, free: 13.15 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.81, allocations: 3.844 kB / 1.191 GB, free: 13.15 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.497e-05/0.81, allocations: 7.25 kB / 1.191 GB, free: 13.14 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001919/0.8102, allocations: 115.3 kB / 1.191 GB, free: 13.05 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.8102, allocations: 0 / 1.191 GB, free: 13.05 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.8102, allocations: 1.406 kB / 1.191 GB, free: 13.05 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.405e-05/0.8102, allocations: 6.094 kB / 1.191 GB, free: 13.05 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.8103, allocations: 42.14 kB / 1.191 GB, free: 13.03 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000421/0.8108, allocations: 293.5 kB / 1.192 GB, free: 12.79 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002199/0.811, allocations: 88.7 kB / 1.192 GB, free: 12.74 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.09e-05/0.811, allocations: 29.83 kB / 1.192 GB, free: 12.73 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.661e-05/0.8111, allocations: 2 kB / 1.192 GB, free: 12.73 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001657/0.8112, allocations: 89.19 kB / 1.192 GB, free: 12.66 MB / 1.076 GB Notification: Performance of pre-optimization done (n=8): time 1.723e-06/0.8112, allocations: 0 / 1.192 GB, free: 12.66 MB / 1.076 GB Notification: Performance of matching and sorting (n=8): time 0.0003549/0.8116, allocations: 149.1 kB / 1.192 GB, free: 12.59 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/0.8116, allocations: 82.91 kB / 1.192 GB, free: 12.49 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002605/0.8119, allocations: 277.6 kB / 1.192 GB, free: 12.34 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.8119, allocations: 27.2 kB / 1.192 GB, free: 12.3 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.86e-05/0.8119, allocations: 121.3 kB / 1.192 GB, free: 12.2 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.35e-05/0.812, allocations: 25.03 kB / 1.192 GB, free: 12.18 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.313e-05/0.812, allocations: 25.41 kB / 1.192 GB, free: 12.16 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.818e-05/0.8121, allocations: 334 kB / 1.193 GB, free: 11.83 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.447e-05/0.8121, allocations: 26.8 kB / 1.193 GB, free: 11.82 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.867e-05/0.8122, allocations: 119.5 kB / 1.193 GB, free: 11.71 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.8124, allocations: 72.23 kB / 1.193 GB, free: 11.68 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.8124, allocations: 9.031 kB / 1.193 GB, free: 11.67 MB / 1.076 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002099/0.8126, allocations: 111.1 kB / 1.193 GB, free: 11.61 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.8126, allocations: 5.375 kB / 1.193 GB, free: 11.61 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.8126, allocations: 1.25 kB / 1.193 GB, free: 11.61 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.8126, allocations: 2.125 kB / 1.193 GB, free: 11.61 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.977e-05/0.8127, allocations: 20.58 kB / 1.193 GB, free: 11.6 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.8127, allocations: 1.703 kB / 1.193 GB, free: 11.6 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.577e-05/0.8128, allocations: 16.03 kB / 1.193 GB, free: 11.59 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.8128, allocations: 2.938 kB / 1.193 GB, free: 11.59 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.intTab.combiTimeTable.nextTimeEvent,$whenCondition1,intRep.y[2],intRep.y[1],intTab.combiTimeTable.nextTimeEventScaled,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEvent,intTab.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 1 * 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.752e-05/0.8129, allocations: 145.7 kB / 1.193 GB, free: 11.46 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.106e-05/0.8129, allocations: 15.97 kB / 1.193 GB, free: 11.45 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00028/0.8132, allocations: 135.2 kB / 1.193 GB, free: 11.37 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/0.8132, allocations: 6.672 kB / 1.193 GB, free: 11.37 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.8132, allocations: 1.719 kB / 1.193 GB, free: 11.37 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.8132, allocations: 0 / 1.193 GB, free: 11.37 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001471/0.8134, allocations: 163.8 kB / 1.194 GB, free: 11.22 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.8134, allocations: 4 kB / 1.194 GB, free: 11.22 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.932e-05/0.8134, allocations: 6.875 kB / 1.194 GB, free: 11.22 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.8134, allocations: 1.125 kB / 1.194 GB, free: 11.22 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.8135, allocations: 6.594 kB / 1.194 GB, free: 11.21 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.8135, allocations: 1.062 kB / 1.194 GB, free: 11.21 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.8135, allocations: 0 / 1.194 GB, free: 11.21 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002557/0.8137, allocations: 156.9 kB / 1.194 GB, free: 11.11 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 3.506e-05/0.8137, allocations: 16.89 kB / 1.194 GB, free: 11.1 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.794e-05/0.8138, allocations: 1.859 kB / 1.194 GB, free: 11.1 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.849e-05/0.8138, allocations: 2.75 kB / 1.194 GB, free: 11.1 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.896e-05/0.8139, allocations: 20.95 kB / 1.194 GB, free: 11.09 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/0.8139, allocations: 3.094 kB / 1.194 GB, free: 11.09 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001804/0.8141, allocations: 207.2 kB / 1.194 GB, free: 10.98 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.8141, allocations: 0 / 1.194 GB, free: 10.98 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002717/0.8143, allocations: 35.17 kB / 1.194 GB, free: 10.97 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: 6 ($whenCondition1,intTab.y,intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001639/0.816, allocations: 453.7 kB / 1.195 GB, free: 10.77 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002365/0.8162, allocations: 78.45 kB / 1.195 GB, free: 10.75 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.8162, allocations: 64 / 1.195 GB, free: 10.75 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 9.543e-05/0.8163, allocations: 42.34 kB / 1.195 GB, free: 10.73 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000298/0.8166, allocations: 39.58 kB / 1.195 GB, free: 10.72 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005167/0.8171, allocations: 306.3 kB / 1.195 GB, free: 10.52 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001012/0.8172, allocations: 112.6 kB / 1.195 GB, free: 10.45 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 7.545e-05/0.8173, allocations: 28.3 kB / 1.195 GB, free: 10.44 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.021e-05/0.8174, allocations: 29.25 kB / 1.195 GB, free: 10.42 MB / 1.076 GB Notification: Performance of SimCode: time 3.3e-07/0.8174, allocations: 0 / 1.195 GB, free: 10.42 MB / 1.076 GB Notification: Performance of Templates: time 0.006886/0.8243, allocations: 2.664 MB / 1.198 GB, free: 10.09 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_IntegerReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.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: 8.767562435008585]