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.002249/0.002249, allocations: 113.1 kB / 17.6 MB, free: 4.703 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.00246/0.00246, allocations: 186.7 kB / 20.78 MB, free: 1.547 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.457/1.457, allocations: 225.6 MB / 249.4 MB, free: 3.309 MB / 190.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.845/2.845, allocations: 476.7 MB / 0.7629 GB, free: 15.32 MB / 0.6075 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.002009/0.002009, allocations: 63.89 kB / 1.107 GB, free: 4.609 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.01/1.012, allocations: 168.7 MB / 1.272 GB, free: 8.137 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.003149/1.015, allocations: 1.803 MB / 1.274 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001693/1.017, allocations: 1.138 MB / 1.275 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.679e-05/1.017, allocations: 0.8125 kB / 1.275 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003596/1.017, allocations: 54.5 kB / 1.275 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002517/1.017, allocations: 78.69 kB / 1.275 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006455/1.018, allocations: 235.2 kB / 1.275 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002089/1.018, allocations: 145 kB / 1.275 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/1.018, allocations: 19.77 kB / 1.275 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/1.018, allocations: 61.31 kB / 1.275 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/1.018, allocations: 68.22 kB / 1.275 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.259e-05/1.018, allocations: 7.125 kB / 1.275 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001743/1.019, allocations: 77.34 kB / 1.276 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.597e-05/1.019, allocations: 45.19 kB / 1.276 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.539e-05/1.019, allocations: 55.34 kB / 1.276 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003109/1.019, allocations: 195.9 kB / 1.276 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/1.019, allocations: 0 / 1.276 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.133e-06/1.019, allocations: 0.75 kB / 1.276 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.813e-06/1.019, allocations: 0 / 1.276 GB, free: 5.66 MB / 0.9981 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.0005941/1.02, allocations: 0.4924 MB / 1.276 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/1.02, allocations: 9.125 kB / 1.276 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.866e-05/1.02, allocations: 16.38 kB / 1.276 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003038/1.02, allocations: 258.6 kB / 1.277 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/1.02, allocations: 2.281 kB / 1.277 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.697e-05/1.02, allocations: 11.53 kB / 1.277 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002023/1.02, allocations: 93.64 kB / 1.277 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/1.02, allocations: 0 / 1.277 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/1.02, allocations: 2.703 kB / 1.277 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.687e-05/1.02, allocations: 5.688 kB / 1.277 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001099/1.02, allocations: 39.55 kB / 1.277 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004789/1.021, allocations: 366.8 kB / 1.277 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002226/1.021, allocations: 79.66 kB / 1.277 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.282e-05/1.021, allocations: 29.66 kB / 1.277 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.495e-05/1.021, allocations: 1.531 kB / 1.277 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001719/1.021, allocations: 85.38 kB / 1.277 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.413e-06/1.021, allocations: 0.8125 kB / 1.277 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.000374/1.022, allocations: 138.3 kB / 1.277 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/1.022, allocations: 112.5 kB / 1.278 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000267/1.022, allocations: 262.2 kB / 1.278 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/1.022, allocations: 26.73 kB / 1.278 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.017e-05/1.022, allocations: 121.5 kB / 1.278 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.352e-05/1.022, allocations: 19.59 kB / 1.278 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.145e-05/1.022, allocations: 31.47 kB / 1.278 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.066e-05/1.022, allocations: 328.2 kB / 1.278 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.077e-05/1.022, allocations: 28.61 kB / 1.278 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.283e-05/1.022, allocations: 68.95 kB / 1.278 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001386/1.023, allocations: 69.91 kB / 1.278 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/1.023, allocations: 0.7812 kB / 1.278 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002092/1.023, allocations: 116.9 kB / 1.279 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/1.023, allocations: 6.125 kB / 1.279 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/1.023, allocations: 0 / 1.279 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/1.023, allocations: 3.172 kB / 1.279 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.964e-05/1.023, allocations: 11.44 kB / 1.279 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/1.023, allocations: 1.125 kB / 1.279 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.774e-05/1.023, allocations: 19.89 kB / 1.279 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/1.023, allocations: 4.922 kB / 1.279 GB, free: 3.352 MB / 0.9981 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.0001032/1.023, allocations: 141.3 kB / 1.279 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.907e-05/1.023, allocations: 15.58 kB / 1.279 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002717/1.023, allocations: 126.1 kB / 1.279 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.278e-06/1.023, allocations: 1.594 kB / 1.279 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/1.023, allocations: 4.844 kB / 1.279 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/1.023, allocations: 3.938 kB / 1.279 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001673/1.024, allocations: 228.7 kB / 1.279 GB, free: 2.918 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/1.024, allocations: 192 / 1.279 GB, free: 2.918 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.126e-05/1.024, allocations: 9.438 kB / 1.279 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/1.024, allocations: 3.938 kB / 1.279 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/1.024, allocations: 1.562 kB / 1.279 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/1.024, allocations: 0.625 kB / 1.279 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/1.024, allocations: 0.6875 kB / 1.279 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002313/1.024, allocations: 151.8 kB / 1.279 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.859e-05/1.024, allocations: 94.7 kB / 1.279 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.055e-05/1.024, allocations: 2.328 kB / 1.279 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.409e-05/1.024, allocations: 5.625 kB / 1.279 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.119e-05/1.024, allocations: 11.73 kB / 1.279 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/1.024, allocations: 6.875 kB / 1.279 GB, free: 2.691 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000184/1.024, allocations: 190.7 kB / 1.28 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/1.024, allocations: 0 / 1.28 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002777/1.025, allocations: 35.72 kB / 1.28 GB, free: 2.578 MB / 0.9981 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.001505/1.026, allocations: 438.3 kB / 1.28 GB, free: 2.371 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002358/1.026, allocations: 62.03 kB / 1.28 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/1.026, allocations: 0.8438 kB / 1.28 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.325e-05/1.026, allocations: 36.14 kB / 1.28 GB, free: 2.344 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003043/1.027, allocations: 40.09 kB / 1.28 GB, free: 2.328 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005596/1.027, allocations: 302.6 kB / 1.28 GB, free: 2.141 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001406/1.027, allocations: 0.7277 MB / 1.281 GB, free: 1.434 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 7.845e-05/1.028, allocations: 25.8 kB / 1.281 GB, free: 1.43 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.197e-05/1.028, allocations: 23.55 kB / 1.281 GB, free: 1.418 MB / 0.9981 GB Notification: Performance of SimCode: time 4.61e-07/1.028, allocations: 0 / 1.281 GB, free: 1.418 MB / 0.9981 GB Notification: Performance of Templates: time 0.006766/1.034, allocations: 2.578 MB / 1.284 GB, free: 1.156 MB / 0.9981 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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.94752457831055]