Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001543/0.001543, allocations: 84.28 kB / 19.18 MB, free: 2.523 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.001594/0.001594, allocations: 169.2 kB / 22.46 MB, free: 5.359 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.442/1.442, allocations: 177.1 MB / 202.8 MB, free: 9.191 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.814/2.814, allocations: 377.8 MB / 0.6221 GB, free: 12.54 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Utilities.Math.Examples.IntegerReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 0.9814 GB, free: 10.87 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.58e-05/2.772e-05, allocations: 2.281 kB / 0.9814 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.004405/0.004433, allocations: 1.78 MB / 0.9832 GB, free: 9.07 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002971/0.007404, allocations: 1.196 MB / 0.9843 GB, free: 7.867 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001238/0.007528, allocations: 4 kB / 0.9843 GB, free: 7.863 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0003608/0.007889, allocations: 63.61 kB / 0.9844 GB, free: 7.801 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0004822/0.008371, allocations: 119.4 kB / 0.9845 GB, free: 7.684 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000773/0.009144, allocations: 199.1 kB / 0.9847 GB, free: 7.492 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003435/0.009487, allocations: 167.5 kB / 0.9849 GB, free: 7.328 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.009601, allocations: 13.62 kB / 0.9849 GB, free: 7.312 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002809/0.009882, allocations: 87.73 kB / 0.985 GB, free: 7.227 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001634/0.01005, allocations: 59.81 kB / 0.985 GB, free: 7.168 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.301e-05/0.01008, allocations: 15.94 kB / 0.985 GB, free: 7.152 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002544/0.01033, allocations: 83.86 kB / 0.9851 GB, free: 7.07 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 9.717e-05/0.01043, allocations: 39.84 kB / 0.9852 GB, free: 7.031 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 8.985e-05/0.01052, allocations: 35.91 kB / 0.9852 GB, free: 6.996 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0004567/0.01098, allocations: 203.4 kB / 0.9854 GB, free: 6.797 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.01098, allocations: 0 / 0.9854 GB, free: 6.797 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.132e-06/0.01098, allocations: 0 / 0.9854 GB, free: 6.797 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.01099, allocations: 0 / 0.9854 GB, free: 6.797 MB / 0.8887 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.0009084/0.0119, allocations: 438.8 kB / 0.9858 GB, free: 6.332 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.01194, allocations: 8.031 kB / 0.9858 GB, free: 6.324 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.278e-05/0.01203, allocations: 20.8 kB / 0.9858 GB, free: 6.305 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000465/0.0125, allocations: 197.4 kB / 0.986 GB, free: 6.086 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.441e-05/0.01252, allocations: 4.375 kB / 0.986 GB, free: 6.082 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.217e-05/0.01255, allocations: 8.375 kB / 0.986 GB, free: 6.074 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002988/0.01285, allocations: 113.6 kB / 0.9861 GB, free: 5.945 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.01286, allocations: 3.938 kB / 0.9861 GB, free: 5.941 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.01287, allocations: 0 / 0.9861 GB, free: 5.941 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.01289, allocations: 0 / 0.9861 GB, free: 5.941 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001665/0.01306, allocations: 39.97 kB / 0.9862 GB, free: 5.902 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006773/0.01373, allocations: 292.4 kB / 0.9865 GB, free: 5.586 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003272/0.01406, allocations: 90.59 kB / 0.9865 GB, free: 5.488 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.01418, allocations: 32.84 kB / 0.9866 GB, free: 5.453 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.01419, allocations: 0 / 0.9866 GB, free: 5.453 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002492/0.01444, allocations: 87.39 kB / 0.9867 GB, free: 5.355 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=8): time 1.953e-06/0.01444, allocations: 0 / 0.9867 GB, free: 5.355 MB / 0.8887 GB Notification: Performance of matching and sorting (n=8): time 0.0005431/0.01499, allocations: 149.4 kB / 0.9868 GB, free: 5.203 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.981e-05/0.01507, allocations: 81.11 kB / 0.9869 GB, free: 5.105 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004664/0.01553, allocations: 271.2 kB / 0.9871 GB, free: 4.832 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.151e-05/0.01557, allocations: 29.7 kB / 0.9872 GB, free: 4.797 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.01569, allocations: 120.1 kB / 0.9873 GB, free: 4.676 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 4.038e-05/0.01573, allocations: 23.8 kB / 0.9873 GB, free: 4.652 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.123e-05/0.01582, allocations: 29.69 kB / 0.9873 GB, free: 4.617 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002161/0.01603, allocations: 330.8 kB / 0.9876 GB, free: 4.285 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/0.01616, allocations: 35.92 kB / 0.9877 GB, free: 4.25 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001911/0.01635, allocations: 114.8 kB / 0.9878 GB, free: 4.113 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002366/0.01658, allocations: 85.92 kB / 0.9879 GB, free: 4.023 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.01659, allocations: 0 / 0.9879 GB, free: 4.023 MB / 0.8887 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003633/0.01695, allocations: 117.5 kB / 0.988 GB, free: 3.902 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.01697, allocations: 4 kB / 0.988 GB, free: 3.898 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.01697, allocations: 0 / 0.988 GB, free: 3.898 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.01699, allocations: 4 kB / 0.988 GB, free: 3.895 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.01712, allocations: 11.98 kB / 0.988 GB, free: 3.883 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.01713, allocations: 4 kB / 0.988 GB, free: 3.879 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.817e-05/0.01723, allocations: 3.953 kB / 0.988 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.792e-05/0.01725, allocations: 7.984 kB / 0.988 GB, free: 3.867 MB / 0.8887 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.0002047/0.01745, allocations: 150.4 kB / 0.9882 GB, free: 3.711 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.775e-05/0.0175, allocations: 15.94 kB / 0.9882 GB, free: 3.695 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004183/0.01792, allocations: 131.1 kB / 0.9883 GB, free: 3.562 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/0.01793, allocations: 0 / 0.9883 GB, free: 3.562 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.01794, allocations: 0 / 0.9883 GB, free: 3.562 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.01794, allocations: 7.938 kB / 0.9883 GB, free: 3.555 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002758/0.01822, allocations: 165.2 kB / 0.9885 GB, free: 3.363 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.01822, allocations: 0 / 0.9885 GB, free: 3.363 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.833e-05/0.01829, allocations: 8 kB / 0.9885 GB, free: 3.355 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.01829, allocations: 0 / 0.9885 GB, free: 3.355 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.01831, allocations: 0 / 0.9885 GB, free: 3.355 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.426e-06/0.01831, allocations: 3.984 kB / 0.9885 GB, free: 3.352 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.01832, allocations: 11.94 kB / 0.9885 GB, free: 3.34 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004258/0.01874, allocations: 157 kB / 0.9886 GB, free: 3.168 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 4.551e-05/0.01879, allocations: 15.84 kB / 0.9887 GB, free: 3.152 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.276e-05/0.01883, allocations: 7.938 kB / 0.9887 GB, free: 3.145 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.454e-05/0.01891, allocations: 4 kB / 0.9887 GB, free: 3.141 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.764e-05/0.01898, allocations: 7.984 kB / 0.9887 GB, free: 3.133 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.722e-05/0.01901, allocations: 15.97 kB / 0.9887 GB, free: 3.117 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0003272/0.01934, allocations: 204.6 kB / 0.9889 GB, free: 2.918 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.2e-07/0.01934, allocations: 0 / 0.9889 GB, free: 2.918 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0004451/0.01978, allocations: 39.91 kB / 0.9889 GB, free: 2.879 MB / 0.8887 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.002244/0.02203, allocations: 438.6 kB / 0.9893 GB, free: 2.625 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.000365/0.02239, allocations: 71.89 kB / 0.9894 GB, free: 2.555 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.02239, allocations: 3.938 kB / 0.9894 GB, free: 2.551 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001576/0.02255, allocations: 39.97 kB / 0.9894 GB, free: 2.512 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004516/0.023, allocations: 39.55 kB / 0.9895 GB, free: 2.473 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007995/0.0238, allocations: 309.9 kB / 0.9898 GB, free: 2.145 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001501/0.02395, allocations: 118.8 kB / 0.9899 GB, free: 2.008 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0001111/0.02406, allocations: 29.78 kB / 0.9899 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.003e-05/0.02414, allocations: 24.5 kB / 0.9899 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of SimCode: time 6.12e-07/0.02414, allocations: 0 / 0.9899 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of Templates: time 0.008278/0.03242, allocations: 2.675 MB / 0.9926 GB, free: 15.32 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.IntegerReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_IntegerReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.934471398591995]