Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.000734/0.000734, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001035/0.001769, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007214/0.0007214, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009877/0.001709, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9567/0.9567, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09147/1.048, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.428/2.428, allocations: 447.1 MB / 0.675 GB, free: 5.918 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2482/2.676, allocations: 146 MB / 0.8176 GB, free: 3.828 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.615e-06/2.615e-06, allocations: 0 / 0.819 GB, free: 2.441 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.44e-05/3.702e-05, allocations: 6.25 kB / 0.819 GB, free: 2.434 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001667/0.001704, allocations: 0.7536 MB / 0.8197 GB, free: 1.676 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0008596/0.002564, allocations: 0.9131 MB / 0.8206 GB, free: 0.75 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.82e-05/0.002602, allocations: 4 kB / 0.8206 GB, free: 0.7461 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.016e-05/0.002632, allocations: 3.938 kB / 0.8206 GB, free: 0.7422 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.065e-05/0.002673, allocations: 4 kB / 0.8206 GB, free: 0.7383 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.000107/0.00278, allocations: 27.84 kB / 0.8207 GB, free: 0.7109 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 7.611e-05/0.002856, allocations: 43.84 kB / 0.8207 GB, free: 0.668 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 8.87e-05/0.002945, allocations: 11.94 kB / 0.8207 GB, free: 0.6562 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.003046, allocations: 27.97 kB / 0.8208 GB, free: 0.6289 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.909e-05/0.003105, allocations: 15.92 kB / 0.8208 GB, free: 0.6133 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.312e-05/0.003128, allocations: 4 kB / 0.8208 GB, free: 0.6094 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 9.298e-06/0.003137, allocations: 4 kB / 0.8208 GB, free: 0.6055 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.988e-05/0.003157, allocations: 4 kB / 0.8208 GB, free: 0.6016 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.237e-05/0.003179, allocations: 19.94 kB / 0.8208 GB, free: 0.582 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 8.778e-05/0.003267, allocations: 23.97 kB / 0.8208 GB, free: 0.5586 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.176e-05/0.003279, allocations: 0 / 0.8208 GB, free: 0.5586 MB / 0.7917 GB Notification: Performance of FrontEnd: time 7.22e-07/0.00328, allocations: 0 / 0.8208 GB, free: 0.5586 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.118e-05/0.003291, allocations: 0 / 0.8208 GB, free: 0.5586 MB / 0.7917 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.0003766/0.003668, allocations: 260.5 kB / 0.8211 GB, free: 284 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.003705, allocations: 8.031 kB / 0.8211 GB, free: 276 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.077e-05/0.003746, allocations: 8.922 kB / 0.8211 GB, free: 268 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.864e-05/0.003834, allocations: 117.7 kB / 0.8212 GB, free: 124 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.826e-06/0.003843, allocations: 384 / 0.8212 GB, free: 124 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.003856, allocations: 4.375 kB / 0.8212 GB, free: 120 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.003984, allocations: 66.94 kB / 0.8213 GB, free: 44 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.003993, allocations: 192 / 0.8213 GB, free: 44 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.282e-06/0.003999, allocations: 4.312 kB / 0.8213 GB, free: 40 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.004003, allocations: 384 / 0.8213 GB, free: 40 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.004e-05/0.004023, allocations: 11.92 kB / 0.8213 GB, free: 28 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002337/0.004257, allocations: 160.2 kB / 0.8214 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.889e-05/0.004316, allocations: 22.56 kB / 0.8215 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.761e-05/0.004333, allocations: 12.84 kB / 0.8215 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.004351, allocations: 4.062 kB / 0.8215 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.004373, allocations: 38.56 kB / 0.8215 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.004373, allocations: 0 / 0.8215 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.000117/0.00449, allocations: 45.66 kB / 0.8216 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.004525, allocations: 55.41 kB / 0.8216 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002916/0.004816, allocations: 114.7 kB / 0.8217 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.004828, allocations: 25.7 kB / 0.8217 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.244e-05/0.00486, allocations: 88.12 kB / 0.8218 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.022e-05/0.00488, allocations: 15.84 kB / 0.8218 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.352e-05/0.004904, allocations: 13.72 kB / 0.8219 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.728e-05/0.004981, allocations: 314.8 kB / 0.8222 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.266e-05/0.004994, allocations: 8 kB / 0.8222 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.091e-05/0.005005, allocations: 3.984 kB / 0.8222 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.648e-05/0.005031, allocations: 12.86 kB / 0.8222 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.005033, allocations: 0 / 0.8222 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.937e-05/0.005083, allocations: 41.62 kB / 0.8222 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.005095, allocations: 8 kB / 0.8222 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.005099, allocations: 0 / 0.8222 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.005113, allocations: 3.938 kB / 0.8222 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.129e-05/0.005194, allocations: 11.98 kB / 0.8222 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.805e-06/0.005197, allocations: 0 / 0.8222 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.687e-05/0.005224, allocations: 11.98 kB / 0.8223 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.00523, allocations: 0 / 0.8223 GB, free: 14.93 MB / 0.8073 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.127e-05/0.005292, allocations: 113.8 kB / 0.8224 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.35e-05/0.005305, allocations: 0 / 0.8224 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.897e-05/0.005334, allocations: 8 kB / 0.8224 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.005338, allocations: 3.938 kB / 0.8224 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.983e-06/0.00534, allocations: 0 / 0.8224 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.005343, allocations: 0 / 0.8224 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.092e-05/0.005434, allocations: 81.81 kB / 0.8225 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.005435, allocations: 0 / 0.8225 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.432e-05/0.005469, allocations: 19.92 kB / 0.8225 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.146e-06/0.005478, allocations: 3.953 kB / 0.8225 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.005479, allocations: 4 kB / 0.8225 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.391e-06/0.005484, allocations: 0 / 0.8225 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.32e-07/0.005485, allocations: 0 / 0.8225 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.005487, allocations: 3.938 kB / 0.8225 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.639e-05/0.005573, allocations: 131.5 kB / 0.8226 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.278e-06/0.005582, allocations: 3.984 kB / 0.8226 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.44e-05/0.005617, allocations: 4 kB / 0.8226 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.567e-05/0.005652, allocations: 12.36 kB / 0.8226 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.005657, allocations: 7.938 kB / 0.8226 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.882e-05/0.005676, allocations: 16.84 kB / 0.8226 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.21e-07/0.005676, allocations: 0 / 0.8226 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001097/0.005786, allocations: 8 kB / 0.8227 GB, free: 14.47 MB / 0.8073 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 9.345e-05/0.005879, allocations: 76.41 kB / 0.8227 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.537e-05/0.005945, allocations: 20.78 kB / 0.8227 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 7.635e-06/0.005952, allocations: 8 kB / 0.8228 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.637e-05/0.005979, allocations: 16.84 kB / 0.8228 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001827/0.006161, allocations: 64.83 kB / 0.8228 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003771/0.006539, allocations: 136.6 kB / 0.823 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.372e-05/0.006572, allocations: 55.3 kB / 0.823 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.336e-05/0.006596, allocations: 7.984 kB / 0.823 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.865e-05/0.006654, allocations: 55.38 kB / 0.8231 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of SimCode: time 8.72e-07/0.006655, allocations: 0 / 0.8231 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of Templates: time 0.002282/0.008937, allocations: 0.7585 MB / 0.8238 GB, free: 13.21 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.212328214198351]