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.001994/0.001994, allocations: 84.39 kB / 20.23 MB, free: 4.184 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.002623/0.002623, allocations: 161.3 kB / 23.54 MB, free: 0.8711 MB / 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 1.529/1.529, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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 2.763/2.763, allocations: 359 MB / 0.6048 GB, free: 10.95 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 4.689e-06/4.689e-06, allocations: 0 / 0.7864 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.357e-05/3.826e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.002202/0.00224, allocations: 0.7059 MB / 0.7871 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001386/0.003626, allocations: 0.8899 MB / 0.788 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.843e-05/0.003664, allocations: 4.562 kB / 0.788 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.046e-05/0.003695, allocations: 5.062 kB / 0.788 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.267e-05/0.003767, allocations: 7.984 kB / 0.788 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.00018/0.003947, allocations: 19.92 kB / 0.788 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.413e-05/0.004042, allocations: 40.58 kB / 0.7881 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.657e-05/0.004138, allocations: 11.98 kB / 0.7881 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.00424, allocations: 28.75 kB / 0.7881 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.722e-05/0.004287, allocations: 11.98 kB / 0.7881 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.348e-05/0.004311, allocations: 4.5 kB / 0.7881 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.244e-05/0.004323, allocations: 5.125 kB / 0.7881 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.376e-05/0.004347, allocations: 11.92 kB / 0.7881 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.1e-05/0.004378, allocations: 8 kB / 0.7882 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001178/0.004496, allocations: 45.7 kB / 0.7882 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.604e-06/0.004499, allocations: 0 / 0.7882 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.31e-07/0.004499, allocations: 4 kB / 0.7882 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.004503, allocations: 3.938 kB / 0.7882 GB, free: 10.95 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.0005783/0.005082, allocations: 283 kB / 0.7885 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.005124, allocations: 12.72 kB / 0.7885 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.388e-05/0.005187, allocations: 8.891 kB / 0.7885 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.00532, allocations: 115 kB / 0.7886 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.005334, allocations: 384 / 0.7886 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/0.005349, allocations: 4.375 kB / 0.7886 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002752/0.005624, allocations: 67.62 kB / 0.7887 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.005634, allocations: 192 / 0.7887 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.791e-05/0.005652, allocations: 4.375 kB / 0.7887 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.005656, allocations: 1.438 kB / 0.7887 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003023/0.005958, allocations: 69.33 kB / 0.7887 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004104/0.006369, allocations: 212.5 kB / 0.7889 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002272/0.006596, allocations: 56.81 kB / 0.789 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001648/0.006761, allocations: 32.92 kB / 0.789 GB, free: 10 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.633e-05/0.006787, allocations: 4.562 kB / 0.789 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.982e-05/0.006827, allocations: 34.56 kB / 0.7891 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.243e-06/0.006828, allocations: 0.9688 kB / 0.7891 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0006116/0.00744, allocations: 139 kB / 0.7892 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.374e-05/0.007493, allocations: 57.09 kB / 0.7893 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.007612, allocations: 105.8 kB / 0.7894 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.007635, allocations: 25.7 kB / 0.7894 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.858e-05/0.007703, allocations: 92.09 kB / 0.7895 GB, free: 9.508 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.451e-05/0.007728, allocations: 10.5 kB / 0.7895 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.566e-05/0.007773, allocations: 21.72 kB / 0.7895 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001853/0.007959, allocations: 310.8 kB / 0.7898 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001714/0.00813, allocations: 35.95 kB / 0.7898 GB, free: 9.125 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/0.008271, allocations: 28.5 kB / 0.7899 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002937/0.008565, allocations: 75.5 kB / 0.7899 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.008567, allocations: 0 / 0.7899 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003491/0.008916, allocations: 95.47 kB / 0.79 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.008936, allocations: 7.938 kB / 0.79 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.008941, allocations: 320 / 0.79 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.008959, allocations: 0 / 0.79 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001429/0.009102, allocations: 21.45 kB / 0.7901 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.009107, allocations: 0 / 0.7901 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.584e-05/0.009193, allocations: 21.25 kB / 0.7901 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.009203, allocations: 3.984 kB / 0.7901 GB, free: 8.875 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 0.0001001/0.009303, allocations: 115.6 kB / 0.7902 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/0.00933, allocations: 0 / 0.7902 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.695e-05/0.009366, allocations: 19.92 kB / 0.7902 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.009368, allocations: 0 / 0.7902 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.009372, allocations: 0 / 0.7902 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.009376, allocations: 4.672 kB / 0.7902 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001606/0.009537, allocations: 109.3 kB / 0.7903 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.009538, allocations: 5.688 kB / 0.7903 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.009642, allocations: 15.98 kB / 0.7903 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.009644, allocations: 0 / 0.7903 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.009651, allocations: 0 / 0.7903 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.262e-06/0.009657, allocations: 4.812 kB / 0.7903 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.009658, allocations: 0 / 0.7903 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004211/0.01008, allocations: 202.9 kB / 0.7905 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.214e-06/0.01009, allocations: 0 / 0.7905 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.0101, allocations: 0 / 0.7905 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.01022, allocations: 15.92 kB / 0.7905 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.445e-05/0.01027, allocations: 11.98 kB / 0.7906 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.01028, allocations: 0 / 0.7906 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.898e-05/0.01033, allocations: 79.81 kB / 0.7906 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.01033, allocations: 5.938 kB / 0.7906 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002254/0.01056, allocations: 8 kB / 0.7907 GB, free: 8.242 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 0.0001375/0.0107, allocations: 107.1 kB / 0.7908 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000349/0.01105, allocations: 66.02 kB / 0.7908 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.01105, allocations: 0 / 0.7908 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001613/0.01121, allocations: 37.38 kB / 0.7909 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003091/0.01152, allocations: 11.98 kB / 0.7909 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003878/0.01191, allocations: 129.9 kB / 0.791 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.386e-05/0.01198, allocations: 64.69 kB / 0.791 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.12e-05/0.01201, allocations: 4 kB / 0.7911 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.161e-05/0.01205, allocations: 9 kB / 0.7911 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of SimCode: time 7.12e-07/0.01205, allocations: 10.75 kB / 0.7911 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of Templates: time 0.003458/0.01551, allocations: 0.7905 MB / 0.7918 GB, free: 7.004 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.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.823606345104054]