Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.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.001442/0.001442, allocations: 71.75 kB / 20.97 MB, free: 3.578 MB / 18.57 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.001466/0.001466, allocations: 169.3 kB / 24.28 MB, free: 276 kB / 18.57 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 0.9824/0.9824, allocations: 177.1 MB / 204.6 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.85/1.85, allocations: 359 MB / 0.6055 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Controls.OBC.CDL.Reals.Validation.Modulo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mod1.u1|mod1.u2|mod1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mod1.u1|mod1.u2|mod1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.7872 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.415e-05/1.55e-05, allocations: 2.312 kB / 0.7872 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001109/0.001124, allocations: 0.7129 MB / 0.7879 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008162/0.00194, allocations: 0.9177 MB / 0.7888 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.538e-05/0.001976, allocations: 1.312 kB / 0.7888 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.74e-05/0.002003, allocations: 3.938 kB / 0.7888 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.14e-05/0.002074, allocations: 7.875 kB / 0.7888 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000154/0.002229, allocations: 12.92 kB / 0.7888 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.85e-05/0.002307, allocations: 51.84 kB / 0.7888 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.372e-05/0.002401, allocations: 5.438 kB / 0.7888 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.904e-05/0.00249, allocations: 27.97 kB / 0.7889 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.181e-05/0.002532, allocations: 23.91 kB / 0.7889 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.309e-05/0.002555, allocations: 4 kB / 0.7889 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.909e-06/0.002565, allocations: 7.281 kB / 0.7889 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.572e-05/0.00258, allocations: 4 kB / 0.7889 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.535e-05/0.002606, allocations: 11.98 kB / 0.7889 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 8.214e-05/0.002688, allocations: 27.89 kB / 0.7889 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.00269, allocations: 3.938 kB / 0.7889 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.21e-07/0.00269, allocations: 4 kB / 0.789 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.196e-06/0.002694, allocations: 0 / 0.789 GB, free: 10.91 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003547/0.003048, allocations: 372.6 kB / 0.7893 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.003087, allocations: 12.97 kB / 0.7893 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.682e-05/0.003124, allocations: 4.891 kB / 0.7893 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.428e-05/0.003208, allocations: 117.1 kB / 0.7894 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.003221, allocations: 8.375 kB / 0.7894 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.947e-06/0.00323, allocations: 1.75 kB / 0.7894 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.003364, allocations: 66.94 kB / 0.7895 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.00337, allocations: 4.188 kB / 0.7895 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.003379, allocations: 1.875 kB / 0.7895 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/0.003391, allocations: 384 / 0.7895 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.661e-05/0.003428, allocations: 19.86 kB / 0.7895 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002902/0.003718, allocations: 255.9 kB / 0.7898 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.527e-05/0.003783, allocations: 36.58 kB / 0.7898 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.589e-05/0.003809, allocations: 15.77 kB / 0.7898 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.003824, allocations: 0 / 0.7898 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.003846, allocations: 38.89 kB / 0.7899 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 7.31e-07/0.003847, allocations: 4 kB / 0.7899 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001512/0.003998, allocations: 49.56 kB / 0.7899 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.916e-05/0.004027, allocations: 51.41 kB / 0.79 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.829e-05/0.004105, allocations: 174.4 kB / 0.7901 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.927e-06/0.004114, allocations: 25.7 kB / 0.7902 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.503e-05/0.004159, allocations: 136.9 kB / 0.7903 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.874e-05/0.004178, allocations: 11.89 kB / 0.7903 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.664e-05/0.004204, allocations: 19.38 kB / 0.7903 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.004318, allocations: 0.4884 MB / 0.7908 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.041e-05/0.004338, allocations: 4 kB / 0.7908 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.417e-05/0.004353, allocations: 0.5312 kB / 0.7908 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.401e-05/0.004387, allocations: 24.34 kB / 0.7908 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.004389, allocations: 0 / 0.7908 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.766e-05/0.004447, allocations: 47.11 kB / 0.7909 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.00446, allocations: 7.938 kB / 0.7909 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.004464, allocations: 320 / 0.7909 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.004476, allocations: 0 / 0.7909 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.321e-05/0.004549, allocations: 12.61 kB / 0.7909 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.004554, allocations: 0 / 0.7909 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.317e-05/0.004577, allocations: 12.98 kB / 0.7909 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.004586, allocations: 7.984 kB / 0.7909 GB, free: 8.715 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * 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 6.3e-05/0.004649, allocations: 153.3 kB / 0.7911 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.426e-05/0.004663, allocations: 4.625 kB / 0.7911 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.834e-05/0.004691, allocations: 11.94 kB / 0.7911 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.004693, allocations: 5.25 kB / 0.7911 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.004696, allocations: 0 / 0.7911 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.004699, allocations: 4 kB / 0.7911 GB, free: 8.531 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.133e-05/0.004791, allocations: 116.6 kB / 0.7912 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.81e-07/0.004791, allocations: 0.5 kB / 0.7912 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.851e-05/0.00482, allocations: 13.02 kB / 0.7912 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.004821, allocations: 0 / 0.7912 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.00483, allocations: 8.906 kB / 0.7912 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.004831, allocations: 3.938 kB / 0.7912 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.004832, allocations: 0 / 0.7912 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001036/0.004936, allocations: 192.7 kB / 0.7914 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.773e-06/0.004943, allocations: 4 kB / 0.7914 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.748e-06/0.004952, allocations: 2.156 kB / 0.7914 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.727e-05/0.00499, allocations: 12.3 kB / 0.7914 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.38e-05/0.005033, allocations: 7.984 kB / 0.7914 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.005036, allocations: 7.938 kB / 0.7914 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.325e-05/0.00508, allocations: 127.1 kB / 0.7916 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.00508, allocations: 0 / 0.7916 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000141/0.005221, allocations: 14.62 kB / 0.7916 GB, free: 7.984 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * 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 Backend phase and start with SimCode phase: time 8.919e-05/0.00531, allocations: 91.25 kB / 0.7917 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.208e-05/0.005402, allocations: 23.66 kB / 0.7917 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.005403, allocations: 0 / 0.7917 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.5e-05/0.005428, allocations: 15.69 kB / 0.7917 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001935/0.005622, allocations: 13.64 kB / 0.7917 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003086/0.00593, allocations: 134 kB / 0.7918 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.063e-05/0.005971, allocations: 59.34 kB / 0.7919 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.289e-05/0.005994, allocations: 5.344 kB / 0.7919 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.105e-05/0.006025, allocations: 8.5 kB / 0.7919 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of SimCode: time 4.21e-07/0.006025, allocations: 0.5625 kB / 0.7919 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of Templates: time 0.002539/0.008564, allocations: 0.7996 MB / 0.7927 GB, free: 6.812 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Modulo.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.304502356098965]