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.00231/0.00231, allocations: 87.69 kB / 20.24 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.002083/0.002083, allocations: 157.3 kB / 23.55 MB, free: 0.8789 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.579/1.579, allocations: 177.1 MB / 203.9 MB, free: 5.625 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.978/2.978, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] 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 3.176e-06/3.176e-06, allocations: 0 / 0.7865 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.27e-05/3.588e-05, allocations: 4.844 kB / 0.7865 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.002087/0.002123, allocations: 0.7037 MB / 0.7871 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001345/0.003468, allocations: 0.895 MB / 0.788 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.995e-05/0.003508, allocations: 1.344 kB / 0.788 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.843e-05/0.003536, allocations: 3.938 kB / 0.788 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.346e-05/0.00363, allocations: 15.88 kB / 0.788 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001844/0.003814, allocations: 12.83 kB / 0.788 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001068/0.003921, allocations: 47.84 kB / 0.7881 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.004024, allocations: 4.562 kB / 0.7881 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/0.004136, allocations: 36.58 kB / 0.7881 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.94e-05/0.004185, allocations: 11.98 kB / 0.7881 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.473e-05/0.00421, allocations: 4.906 kB / 0.7882 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.212e-05/0.004222, allocations: 7.938 kB / 0.7882 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.849e-05/0.004241, allocations: 4.656 kB / 0.7882 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.429e-05/0.004275, allocations: 15.92 kB / 0.7882 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001182/0.004393, allocations: 45.52 kB / 0.7882 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.004396, allocations: 0 / 0.7882 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.72e-07/0.004397, allocations: 0 / 0.7882 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.965e-06/0.004405, allocations: 3.984 kB / 0.7882 GB, free: 10.94 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.0006118/0.005017, allocations: 373.8 kB / 0.7886 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.005067, allocations: 12.03 kB / 0.7886 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.503e-05/0.005122, allocations: 8.891 kB / 0.7886 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.005265, allocations: 116.5 kB / 0.7887 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.005283, allocations: 4.875 kB / 0.7887 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.063e-05/0.005293, allocations: 3.812 kB / 0.7887 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002113/0.005505, allocations: 62.23 kB / 0.7888 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.005519, allocations: 4.125 kB / 0.7888 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.005531, allocations: 384 / 0.7888 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.005538, allocations: 4.375 kB / 0.7888 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000193/0.005731, allocations: 43.91 kB / 0.7888 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005045/0.006235, allocations: 263.8 kB / 0.7891 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.006412, allocations: 51.75 kB / 0.7891 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.00652, allocations: 28.64 kB / 0.7892 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.258e-05/0.006553, allocations: 11.94 kB / 0.7892 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.211e-05/0.006595, allocations: 38.2 kB / 0.7892 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.006596, allocations: 0 / 0.7892 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0004321/0.007028, allocations: 95.5 kB / 0.7893 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.152e-05/0.007079, allocations: 59.39 kB / 0.7894 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.007231, allocations: 169.9 kB / 0.7895 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.468e-05/0.007256, allocations: 26.98 kB / 0.7895 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.612e-05/0.007352, allocations: 134.8 kB / 0.7897 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.676e-05/0.007378, allocations: 11.95 kB / 0.7897 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.796e-05/0.007426, allocations: 20.03 kB / 0.7897 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002883/0.007715, allocations: 0.4884 MB / 0.7902 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.999e-05/0.007815, allocations: 24.64 kB / 0.7902 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.294e-05/0.007898, allocations: 17.3 kB / 0.7902 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001704/0.008068, allocations: 52.55 kB / 0.7903 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.00807, allocations: 4 kB / 0.7903 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002156/0.008286, allocations: 71.02 kB / 0.7903 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.008308, allocations: 11.92 kB / 0.7904 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.008313, allocations: 4.312 kB / 0.7904 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.008327, allocations: 1.156 kB / 0.7904 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.76e-05/0.008425, allocations: 8 kB / 0.7904 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.008431, allocations: 0.5625 kB / 0.7904 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.392e-05/0.008485, allocations: 15.88 kB / 0.7904 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.008497, allocations: 8.484 kB / 0.7904 GB, free: 8.535 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.0003957/0.008893, allocations: 157.1 kB / 0.7905 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.323e-05/0.008916, allocations: 1.062 kB / 0.7905 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.21e-05/0.008958, allocations: 19.88 kB / 0.7906 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.00896, allocations: 0 / 0.7906 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.008963, allocations: 0.875 kB / 0.7906 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.008966, allocations: 0 / 0.7906 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001681/0.009134, allocations: 125.8 kB / 0.7907 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.009137, allocations: 3.984 kB / 0.7907 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.875e-05/0.009206, allocations: 8 kB / 0.7907 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.009208, allocations: 1.406 kB / 0.7907 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.009218, allocations: 4 kB / 0.7907 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.009222, allocations: 7.938 kB / 0.7907 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.009222, allocations: 0 / 0.7907 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000333/0.009555, allocations: 228.8 kB / 0.7909 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.913e-06/0.009562, allocations: 0.5312 kB / 0.7909 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.009581, allocations: 4.812 kB / 0.7909 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.437e-05/0.009665, allocations: 11.92 kB / 0.7909 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.289e-05/0.009718, allocations: 8.922 kB / 0.7909 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-06/0.009722, allocations: 0 / 0.7909 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.902e-05/0.009811, allocations: 131.2 kB / 0.7911 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.009811, allocations: 1.219 kB / 0.7911 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002066/0.01002, allocations: 8 kB / 0.7911 GB, free: 7.77 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.000157/0.01017, allocations: 96.17 kB / 0.7912 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002669/0.01044, allocations: 53.88 kB / 0.7912 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.01045, allocations: 4 kB / 0.7912 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001165/0.01056, allocations: 35.61 kB / 0.7913 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002868/0.01085, allocations: 11.98 kB / 0.7913 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004192/0.01127, allocations: 137.3 kB / 0.7914 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.433e-05/0.01135, allocations: 63.34 kB / 0.7915 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.42e-05/0.01139, allocations: 0 / 0.7915 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.434e-05/0.01143, allocations: 12.5 kB / 0.7915 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of SimCode: time 4.11e-07/0.01143, allocations: 0 / 0.7915 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of Templates: time 0.004013/0.01545, allocations: 0.7993 MB / 0.7923 GB, free: 6.539 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","/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: 8.150563167990185]