Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001847/0.001847, allocations: 115.2 kB / 17.13 MB, free: 5.914 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.002197/0.002197, allocations: 193.2 kB / 20.08 MB, free: 2.98 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.585/1.585, allocations: 225.6 MB / 248.5 MB, free: 3.605 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.638/2.638, allocations: 443.5 MB / 0.7293 GB, free: 14.52 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Utilities.Math.Examples.IntegerReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 59.91 kB / 1.057 GB, free: 1.953 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.337, allocations: 160.7 MB / 1.214 GB, free: 0.9297 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.003245/0.3403, allocations: 1.786 MB / 1.216 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001867/0.3421, allocations: 1.12 MB / 1.217 GB, free: 14 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.571e-05/0.3422, allocations: 4 kB / 1.217 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0003305/0.3425, allocations: 51.73 kB / 1.217 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002394/0.3428, allocations: 75.67 kB / 1.217 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006162/0.3434, allocations: 231 kB / 1.217 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002176/0.3436, allocations: 151.6 kB / 1.217 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.3437, allocations: 17.11 kB / 1.217 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.3438, allocations: 71.69 kB / 1.217 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001238/0.344, allocations: 71.67 kB / 1.218 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.219e-05/0.344, allocations: 8 kB / 1.218 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001721/0.3442, allocations: 67.95 kB / 1.218 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.401e-05/0.3442, allocations: 47.77 kB / 1.218 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.325e-05/0.3443, allocations: 51.69 kB / 1.218 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003237/0.3446, allocations: 203.2 kB / 1.218 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3446, allocations: 0 / 1.218 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3446, allocations: 4 kB / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.3446, allocations: 0 / 1.218 GB, free: 12.96 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.0007557/0.3454, allocations: 0.4922 MB / 1.218 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.3454, allocations: 8.031 kB / 1.218 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.776e-05/0.3455, allocations: 16.84 kB / 1.218 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003866/0.3459, allocations: 257 kB / 1.219 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.3459, allocations: 4.375 kB / 1.219 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.866e-05/0.3459, allocations: 4.125 kB / 1.219 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000221/0.3461, allocations: 100.2 kB / 1.219 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.3462, allocations: 3.984 kB / 1.219 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.3462, allocations: 4 kB / 1.219 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/0.3462, allocations: 3.984 kB / 1.219 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001342/0.3463, allocations: 31.98 kB / 1.219 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005593/0.3469, allocations: 360.6 kB / 1.219 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002376/0.3471, allocations: 82.67 kB / 1.219 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.679e-05/0.3472, allocations: 28.84 kB / 1.219 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.3472, allocations: 0 / 1.219 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001815/0.3474, allocations: 79.38 kB / 1.219 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.333e-06/0.3474, allocations: 96 / 1.219 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0004028/0.3478, allocations: 153.4 kB / 1.219 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.015e-05/0.3479, allocations: 102.8 kB / 1.22 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002917/0.3482, allocations: 267 kB / 1.22 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/0.3482, allocations: 29.7 kB / 1.22 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.593e-05/0.3483, allocations: 112.1 kB / 1.22 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.066e-05/0.3483, allocations: 19.86 kB / 1.22 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.004e-05/0.3484, allocations: 29.64 kB / 1.22 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.3485, allocations: 334.8 kB / 1.22 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.909e-05/0.3486, allocations: 27.98 kB / 1.22 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001112/0.3487, allocations: 72.2 kB / 1.22 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001496/0.3489, allocations: 69.64 kB / 1.22 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3489, allocations: 0 / 1.22 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002381/0.3491, allocations: 121.5 kB / 1.221 GB, free: 9.922 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.3491, allocations: 4 kB / 1.221 GB, free: 9.918 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.3491, allocations: 400 / 1.221 GB, free: 9.918 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.3492, allocations: 4 kB / 1.221 GB, free: 9.914 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.656e-05/0.3493, allocations: 11.98 kB / 1.221 GB, free: 9.902 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.3493, allocations: 0 / 1.221 GB, free: 9.902 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.146e-05/0.3493, allocations: 15.83 kB / 1.221 GB, free: 9.887 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.3493, allocations: 7.984 kB / 1.221 GB, free: 9.879 MB / 0.9669 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.0001543/0.3495, allocations: 150.5 kB / 1.221 GB, free: 9.723 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.949e-05/0.3495, allocations: 11.91 kB / 1.221 GB, free: 9.711 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.622e-05/0.3496, allocations: 21.39 kB / 1.221 GB, free: 9.688 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/0.3496, allocations: 4 kB / 1.221 GB, free: 9.684 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.3496, allocations: 3.984 kB / 1.221 GB, free: 9.68 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.3496, allocations: 3.938 kB / 1.221 GB, free: 9.676 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002301/0.3498, allocations: 221.6 kB / 1.221 GB, free: 9.41 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3498, allocations: 0 / 1.221 GB, free: 9.41 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.112e-05/0.3499, allocations: 4 kB / 1.221 GB, free: 9.406 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.3499, allocations: 4 kB / 1.221 GB, free: 9.402 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.3499, allocations: 0 / 1.221 GB, free: 9.402 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.3499, allocations: 4 kB / 1.221 GB, free: 9.398 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3499, allocations: 0 / 1.221 GB, free: 9.398 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002876/0.3502, allocations: 144.9 kB / 1.221 GB, free: 9.238 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.852e-05/0.3502, allocations: 97 kB / 1.221 GB, free: 9.125 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.895e-05/0.3503, allocations: 4 kB / 1.221 GB, free: 9.121 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.3e-05/0.3503, allocations: 3.938 kB / 1.221 GB, free: 9.117 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.843e-05/0.3504, allocations: 11.98 kB / 1.221 GB, free: 9.105 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.3504, allocations: 11.94 kB / 1.221 GB, free: 9.094 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002084/0.3506, allocations: 204.1 kB / 1.222 GB, free: 8.895 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3506, allocations: 0 / 1.222 GB, free: 8.895 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002595/0.3509, allocations: 31.94 kB / 1.222 GB, free: 8.863 MB / 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: 6 ($whenCondition1,intTab.y,intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEvent) * 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.001544/0.3524, allocations: 431.4 kB / 1.222 GB, free: 8.602 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002343/0.3526, allocations: 63.91 kB / 1.222 GB, free: 8.539 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.3526, allocations: 4.062 kB / 1.222 GB, free: 8.535 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.238e-05/0.3527, allocations: 31.98 kB / 1.222 GB, free: 8.504 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002966/0.353, allocations: 33.52 kB / 1.222 GB, free: 8.473 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006148/0.3537, allocations: 328.3 kB / 1.222 GB, free: 8.121 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004087/0.3541, allocations: 0.7201 MB / 1.223 GB, free: 7.375 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.294e-05/0.3541, allocations: 27.36 kB / 1.223 GB, free: 7.348 MB / 0.9669 GB Notification: Performance of SimCode: time 3.41e-07/0.3541, allocations: 4 kB / 1.223 GB, free: 7.344 MB / 0.9669 GB Notification: Performance of Templates: time 0.005241/0.3594, allocations: 2.615 MB / 1.226 GB, free: 4.742 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.IntegerReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_IntegerReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 11.553524693008512]