Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator.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.001319/0.001319, allocations: 114.8 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.001379/0.001379, allocations: 199.7 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.476/1.476, allocations: 225.6 MB / 250.9 MB, free: 13.26 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.873/2.873, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 GB " [Timeout remaining time 177] 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.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intRep.u|intRep.y.2.|intRep.y.1.",fileNamePrefix="Buildings_11_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_11_Buildings.Utilities.Math.Examples.IntegerReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00212/0.00212, allocations: 63.91 kB / 1.109 GB, free: 6.535 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8052/0.8073, allocations: 168.7 MB / 1.274 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.004156/0.8114, allocations: 1.791 MB / 1.276 GB, free: 2.762 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002336/0.8138, allocations: 1.135 MB / 1.277 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001545/0.8139, allocations: 0 / 1.277 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0003781/0.8143, allocations: 59.67 kB / 1.277 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002892/0.8146, allocations: 79.67 kB / 1.277 GB, free: 1.484 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007441/0.8153, allocations: 227.2 kB / 1.277 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002538/0.8156, allocations: 147.6 kB / 1.277 GB, free: 1.121 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.8157, allocations: 13.12 kB / 1.277 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/0.8158, allocations: 63.75 kB / 1.277 GB, free: 1.047 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001413/0.816, allocations: 71.73 kB / 1.278 GB, free: 0.9766 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.377e-05/0.816, allocations: 8 kB / 1.278 GB, free: 0.9688 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000174/0.8162, allocations: 75.88 kB / 1.278 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.472e-05/0.8163, allocations: 39.84 kB / 1.278 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.558e-05/0.8163, allocations: 59.62 kB / 1.278 GB, free: 0.7969 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003273/0.8167, allocations: 201.9 kB / 1.278 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.8167, allocations: 0 / 1.278 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of FrontEnd: time 9.42e-07/0.8167, allocations: 0 / 1.278 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.8167, allocations: 3.938 kB / 1.278 GB, free: 0.5977 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0008276/0.8175, allocations: 0.4883 MB / 1.278 GB, free: 56 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.8175, allocations: 11.97 kB / 1.278 GB, free: 44 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.075e-05/0.8176, allocations: 16.84 kB / 1.278 GB, free: 28 kB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004107/0.818, allocations: 253 kB / 1.279 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.818, allocations: 4.375 kB / 1.279 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.272e-05/0.818, allocations: 12.06 kB / 1.279 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002284/0.8183, allocations: 88.23 kB / 1.279 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.8183, allocations: 0 / 1.279 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.82e-05/0.8183, allocations: 4 kB / 1.279 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.062e-05/0.8183, allocations: 4 kB / 1.279 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001234/0.8184, allocations: 39.89 kB / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005914/0.819, allocations: 360.7 kB / 1.279 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002472/0.8193, allocations: 82.7 kB / 1.279 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.472e-05/0.8194, allocations: 32.84 kB / 1.279 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.8194, allocations: 0 / 1.279 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002123/0.8196, allocations: 91.27 kB / 1.279 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.573e-06/0.8196, allocations: 0 / 1.279 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0004292/0.82, allocations: 141.5 kB / 1.279 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.311e-05/0.8201, allocations: 106.8 kB / 1.28 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003169/0.8204, allocations: 259 kB / 1.28 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.069e-05/0.8205, allocations: 29.7 kB / 1.28 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.8206, allocations: 120.1 kB / 1.28 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.525e-05/0.8206, allocations: 27.8 kB / 1.28 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.513e-05/0.8207, allocations: 25.7 kB / 1.28 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001836/0.8209, allocations: 330.8 kB / 1.28 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.758e-05/0.821, allocations: 27.98 kB / 1.28 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001214/0.8211, allocations: 68.27 kB / 1.28 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001658/0.8212, allocations: 77.94 kB / 1.281 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.8212, allocations: 0 / 1.281 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002374/0.8215, allocations: 113.6 kB / 1.281 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.8215, allocations: 4.188 kB / 1.281 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.8215, allocations: 0 / 1.281 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.8215, allocations: 3.938 kB / 1.281 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.8216, allocations: 19.92 kB / 1.281 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.8216, allocations: 4 kB / 1.281 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.274e-05/0.8217, allocations: 11.92 kB / 1.281 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.8217, allocations: 8 kB / 1.281 GB, free: 13.5 MB / 0.9825 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 0.0001479/0.8219, allocations: 146.3 kB / 1.281 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.8e-05/0.8219, allocations: 19.89 kB / 1.281 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000306/0.8222, allocations: 119 kB / 1.281 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.8222, allocations: 4 kB / 1.281 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.8222, allocations: 0 / 1.281 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.8222, allocations: 7.922 kB / 1.281 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002377/0.8225, allocations: 225.6 kB / 1.281 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.8225, allocations: 4 kB / 1.281 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.167e-05/0.8225, allocations: 4 kB / 1.281 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.8225, allocations: 0 / 1.281 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.8225, allocations: 3.938 kB / 1.281 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.8225, allocations: 0 / 1.281 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.8225, allocations: 0 / 1.281 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002644/0.8228, allocations: 140.9 kB / 1.281 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.501e-05/0.8229, allocations: 101 kB / 1.281 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.618e-05/0.8229, allocations: 11.97 kB / 1.281 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.857e-05/0.823, allocations: 4 kB / 1.281 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.474e-05/0.823, allocations: 11.92 kB / 1.281 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.823, allocations: 7.938 kB / 1.281 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002139/0.8233, allocations: 195 kB / 1.282 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8233, allocations: 0 / 1.282 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002612/0.8235, allocations: 27.98 kB / 1.282 GB, free: 12.38 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: 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 (7): * Single equations (assignments): 4 * 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.001682/0.8252, allocations: 439 kB / 1.282 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002567/0.8255, allocations: 71.89 kB / 1.282 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.8255, allocations: 0 / 1.282 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.818e-05/0.8256, allocations: 31.98 kB / 1.282 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003037/0.8259, allocations: 39.89 kB / 1.282 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006308/0.8265, allocations: 302.5 kB / 1.282 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003848/0.8269, allocations: 0.7283 MB / 1.283 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.347e-05/0.8269, allocations: 25.06 kB / 1.283 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.741e-05/0.827, allocations: 15.44 kB / 1.283 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.827, allocations: 0 / 1.283 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of Templates: time 0.006867/0.8339, allocations: 2.58 MB / 1.286 GB, free: 8.301 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.IntegerReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_IntegerReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.757658140733838]